Commit Graph

79 Commits

Author SHA1 Message Date
Adam Zionts
8adaeabc18 Merge branch 'master' into adam/19/4/some-typos 2019-04-16 15:36:32 -07:00
Adam Zionts
684b5274d9 typos 2019-04-16 15:34:52 -07:00
Adam Zionts
b9155da74a Fix broken sentence in schema validation 2019-04-16 15:05:13 -07:00
Danielle Man
2171c23fb7 Merge branch 'master' into adam/19/4/client-id-ep 2019-04-16 14:48:44 -07:00
Pierre Carrier
53aab74262 Quick scan of the Apollo Engine guide (#402)
* engine-proxy release notes 404ed
* engine-proxy.md: fix code & list syntax, inline proxy version
* Replace Intercom links
* Nitpicks in Apollo Engine Guide
2019-04-16 14:48:33 -07:00
Danielle Man
03b72c3b50 Merge branch 'master' into adam/19/4/client-id-ep 2019-04-16 14:44:54 -07:00
matt debergalis
feb964f1a5 updated intro
reorient intro to focus on benefits of a schema registry. evict most of the validation stuff, since we now have a separate section for that.
2019-04-16 14:36:23 -07:00
Adam Zionts
6a3c78fe4b No support for client ID in engineproxy 2019-04-16 14:32:28 -07:00
Evans Hauser
ec7a35d305 Update schema validaton screenshots and command output (#385)
* apollo-config: run prettier and add service to client docs

* schema-validation: update screenshots

* schema-validation: update command output

* schema-validation: use npx and add npm install apollo
2019-04-05 13:32:31 -07:00
Evans Hauser
46fe74535b Add compatible changes and update descriptions of breaking changes (#376)
* validation: add section for compatible changes

* validation: add reasoning for each bucket of failure

* validation: update breaking change language

* validation: address feedback from @zionts
2019-04-01 14:05:01 -07:00
Trevor Blades
9d65f321b8 use raw html to preserve ids 2019-03-28 10:21:44 -07:00
Trevor Blades
e2be3ed9b0 Use a markdown list to get inline code formatting 2019-03-28 10:16:29 -07:00
Danielle Man
b486542ce4 update for more feedback from adam 2019-03-19 23:27:54 -07:00
Danielle Man
6f714dcdda update for feedback from adam 2019-03-19 21:45:24 -07:00
Danielle Man
9c8e373ab6 update for feedback from matt 2019-03-19 18:31:52 -07:00
Danielle Man
bd305d3616 update for evans' comments 2019-03-12 23:34:19 -07:00
Danielle Man
2de6163fa6 updates for peggy's comments 2019-03-12 23:11:01 -07:00
Danielle Man
4fb8b780e8 add anchor links to change types 2019-03-12 10:56:08 -07:00
Danielle Man
258777b837 fix typos! 2019-03-12 10:50:26 -07:00
Danielle Man
33ce2edd83 Merge branch 'master' into evans/schema-publidation-changes 2019-03-07 20:40:14 -08:00
Danielle Man
921dc9a3c5 update schema-validation article to orient around the "workflow" 2019-03-07 20:38:32 -08:00
Danielle Man
b6fb19bf25 update schema-reg article to orient around "schema change history" workflow 2019-03-07 17:19:01 -08:00
Danielle Man
ee1f6098c5 update schema-registry copy to use fewer marketing terms 2019-03-06 22:12:35 -08:00
Evans Hauser
7d4a3408f0 validation: rework content
This commit:

* updates the introduction to include necessary background information
  * start with an operation list then move to comparison
* places the setup basic instructions higher up in the flow
* uses npx instead of a global apollo
* adds schema tags to the instructions with an image
* defines more of the current cli's behavior
* shifts describing specific schema changes to general strategies around
  proper evolution of a schema
* adds learnings from dogfooding
  * ignoring exit code
* simplifies the CircleCI setup
* add rollover recomendation
* Label alternative strategies for maintaining an api and make
non-breaking changes section less opinonated
* ease example into example of field change
* simplify description of behavior between Notice and Error

Wording changes include:

* passive -> active voice
* remove second person
* cutdown extra information
* pull-request => pull request
* cli => CLI
* published => pushed
2019-03-05 14:52:45 -08:00
Evans Hauser
8fe792da16 schema-validation: run prettier 2019-03-05 14:13:34 -08:00
Evans Hauser
4d397afc50 schema-reg: update language and add 🐶food learning
* Remove the 2nd person language
* remove unused cicleCI comment
* add GraphQL service to glossary
* publish -> register
* add reference to schema tag

We now point users at publishing their schema on every deploy and add a
note that it can be advantageous to publish from master.
2019-03-05 14:13:35 -08:00
Evans Hauser
00c9200011 schema-reg: run prettier 2019-03-05 13:39:45 -08:00
Jesse Rosenberger
64495bb7cb Merge branch 'master' into abernix-patch-1 2019-03-04 18:32:54 +02:00
Jesse Rosenberger
0b7a6c98e0 client-awareness: Add clarity to "Advanced setup" section. (#353)
By default, Apollo Server and Apollo Client take care of most aspects of client awareness automatically, with the requirements being:

* Using recent versions of Apollo Server and Apollo Client which support client awareness automatically.
* The `name` and `version` be set on the `ApolloClient` constructor.

As currently written, the variables used in this _Advanced setup_ section have caused some to believe that those are the headers that should be used, whereas they were merely suggestions.  The _Setup_ section above should still be observed for most cases and I hope the additional clarity in this re-wording will help avoid future confusion.
2019-03-04 18:32:27 +02:00
Jesse Rosenberger
f7fcad11b5 client-awareness: Change many uses of "api" to "API".
An "application programming interface" need not be capitalized in its full form, but I believe API should remain capitalized.

With all due respect to SCUBA, I'm not willing to let every form initialism land in the dictionary in lower-case.
2019-03-04 16:19:11 +02:00
Jake
3bf6134ed4 updated install steps 2019-02-26 09:40:37 -05:00
Jake
94699b4f83 reorder sections 2019-02-26 09:40:37 -05:00
Jake
f690152dff review notes 2019-02-26 09:40:37 -05:00
Peggy Rayzis
55bf5435ff Update docs/source/platform/editor-plugins.md
Co-Authored-By: JakeDawkins <dawkinsjh@gmail.com>
2019-02-26 09:40:37 -05:00
Peggy Rayzis
51d81fd35c Update docs/source/platform/editor-plugins.md
Co-Authored-By: JakeDawkins <dawkinsjh@gmail.com>
2019-02-26 09:40:37 -05:00
Jake Dawkins
eafc22be60 Update editor-plugins.md
Fix some wording
2019-02-26 09:40:37 -05:00
Jake
ae00181196 Updated VSCode editor extension docs 2019-02-26 09:40:37 -05:00
Jesse Rosenberger
68712e35fc Update link for apollo-config to point to new location in references. 2019-02-20 14:30:18 +02:00
Trevor Scheer
a2b842774d Update service:check docs with new flags (#341)
Add documentation for new service: check flags:
* validationPeriod
* queryCountThreshold
* queryCountThresholdPercentage

* Remove broken link

* Run prettier
2019-02-12 17:07:57 -08:00
Jesse Rosenberger
dab8f7f8f6 (op-reg) General cleanup of the operation registry documentation. (#334)
* (op-reg) Clarify that the operation registry is for Enterprise and Team plans.

* (op-reg) Drop the word "grab" and go for something more friendly.

* (op-reg) Add a "What to expect" heads-up on what the installation necessitates.

* op-reg: "should" > "can".

* op-reg: Refer to "Engine" as "Apollo Engine".

* op-reg: Complete sentences with correct words are great.

* Update docs/source/platform/operation-registry.md
2019-02-05 20:28:16 +02:00
Jesse Rosenberger
32b7cef9ac Remove extra right parenthesis. 2019-02-01 12:45:46 +02:00
Jesse Rosenberger
2282733f51 (op-reg) Update for forbidUnregisteredOperations predicate function support. (#333)
* (op-reg) Update for `forbidUnregisteredOperations` predicate function support.

The Apollo Server operation registry plugin — available for Apollo Engine
Team and Enterprise users, now supports passing a predicate function rather
than a boolean on the `forbidUnregisteredOperations` parameter.

This new parameter can be used to selectively enforce the safe-listing
depending on contextual differences — for example, the presence of a header.

This documentation adds the implementation details for that new feature
along with an example of how to utilize it.

* Clarify predicate function with a link.

A predicate function is a function which returns `true` or `false`, which is explained within the same sentence, but a link would be helpful to those who might not understand that terminology.  It's worth understanding the term, and a link helps make that easier.

* Address feedback from @peggyrayzis.
2019-02-01 12:43:10 +02:00
Adam Zionts
3bbe889a50 Change wording, change header sizes 2019-01-29 23:35:07 -08:00
Adam Zionts
4cd8648ae6 Metrics TODOs fixed and config updated 2019-01-29 23:22:39 -08:00
Adam Zionts
5b3a6638d2 Docs for setting up analytics agent 2019-01-29 23:14:35 -08:00
Jesse Rosenberger
d23f3f6377 op-reg: Add line highlighting for more clarity in the differential changes. 2019-01-24 12:22:34 +02:00
Jesse Rosenberger
b4c9f19ff4 op-reg: Add subscriptions: false to "Existing configuration" example.
It's been added in the previous step, so it should be "existing" now.  Also,
this helps re-enforce the previous step.
2019-01-24 11:10:41 +02:00
Jesse Rosenberger
934863c613 op-reg: Add prerequisite for disabling subscriptions. 2019-01-24 11:09:29 +02:00
Jesse Rosenberger
d9e11d1ce9 op-reg: Add step to disable subscription server. 2019-01-24 10:58:23 +02:00
Ezeki Zibzibadze
ddfbb97912 Fix example of Local schema (#286) 2019-01-17 10:53:07 -08:00