Commit Graph

60 Commits

Author SHA1 Message Date
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
Evans Hauser
237ca47e86 client awareness: add missing comma (#302) 2019-01-17 10:47:25 -08:00
Adam Zionts
3654a7ec38 Include tag option in Circle example 2019-01-15 15:03:22 -08:00
Danielle Man
c870acda4d Merge branch 'master' into dman/apollo-config 2018-12-14 15:01:19 -08:00
Jesse Rosenberger
9584c63744 Update local repository references to apollo-config.
The location of the `apollo-config` file was moved in
b1204a650c,  so this updates the existing references within
this same repository to reflect the new location of the file.

cc @michael-watson
2018-12-14 12:34:54 +02:00
Danielle Man
19859d955f Move Apollo config docs to the References section and reorganize it to be an API reference 2018-12-13 18:31:20 -08:00
matt debergalis
ef34eda039 let's spell Apollo correctly 2018-12-07 18:09:08 -08:00
matt debergalis
63e47f6d2a fix a few typos 2018-12-07 18:06:55 -08:00
Danielle Man
4867b73bbb Rewrite the integrations article to orient around "Platform Integrations", not just Engine integrations 2018-12-03 13:18:45 -08:00
Jesse Rosenberger
6e5c059a5c Update operation-registry.md 2018-12-03 21:54:16 +02:00
Jesse Rosenberger
411791ee12 (op-reg) Add troubleshooting for AccessDenied. 2018-12-03 21:53:13 +02:00
Jesse Rosenberger
c35da36f5e Update operation-registry.md 2018-12-03 21:48:22 +02:00
Evans Hauser
f704e750f7 Update client awareness docs to use latest AC (#258)
* Update client awareness docs to use latest AC

* Update docs/source/platform/client-awareness.md
2018-11-26 11:24:56 -08:00
Evans Hauser
2052cec4a8 Initial Client Awareness Documentation (#241)
* Remove .DS_Store

* Initial Client Awareness Docs

* Reorg images and write some content

Makes the intro a bit smoother and builds up the meat of the article
with some more screenshots

remove you

* Include client awareness in sidebar

* Fix code highlighting

* Add new before ApolloLink

* Fix some typos

* Reorganize the client-awareness documentation

Overview -> setup -> use cases -> advanced setup
2018-11-21 11:02:00 -08:00
Evans Hauser
04d155640c Change APOLLO_SCHEMA_TAG -> ENGINE_SCHEMA_TAG
22e2f9b5b9/packages/apollo-engine-reporting/src/agent.ts (L145)
2018-11-16 14:55:49 -08:00
Evans Hauser
2a149a0614 schema: -> service: (#247) 2018-11-15 15:15:15 -08:00
Peggy Rayzis
5133567757 Move schema design content on changes to schema validation 2018-11-15 10:30:53 -05:00
Peggy Rayzis
021635e0cb Move apollo config article to platform section 2018-11-15 10:30:53 -05:00
unicodeveloper
3e122914ea Change incredible to incredibly 2018-11-12 17:17:46 +01:00
unicodeveloper
77269e3d8d Fix grammar and presentation 2018-11-12 17:16:01 +01:00