Commit Graph

777 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
82ab556e7c Merge pull request #340 from cfjedimaster/patch-1
Update schema.md
2019-03-06 23:32:16 -08:00
Danielle Man
fe8b3a301f Merge branch 'master' into patch-1 2019-03-06 23:31:16 -08:00
Danielle Man
5910c6f2ff Merge pull request #352 from apollographql/abernix-patch-1
client-awareness: Change many uses of "api" to "API".
2019-03-06 23:29:16 -08:00
Danielle Man
fb092b8542 Merge branch 'master' into patch-1 2019-03-06 23:28:34 -08:00
Danielle Man
3875d7e59c Merge branch 'master' into abernix-patch-1 2019-03-06 23:26:18 -08:00
Danielle Man
e70f9f557d update the graphql glossary service definition copy 2019-03-06 22:12:48 -08:00
Danielle Man
ee1f6098c5 update schema-registry copy to use fewer marketing terms 2019-03-06 22:12:35 -08:00
Ahmed Atito
9858382c77 Update Apollo community from Slack to Spectrum. (#356) 2019-03-06 15:08:20 -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
Hugh Willson
92bcd19641 Merge pull request #350 from apollographql/hwillson/apollo-client-dep-update
Remove apollo-client `alpha` reference
2019-02-27 10:59:58 -05:00
Hugh Willson
a0601e17e5 Remove apollo-client alpha reference 2019-02-27 10:17:29 -05: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
Dominik Gruber
9aacacbf32 Data source tutorial: Fix var name in getAllLaunches() (#326) 2019-02-13 13:31:13 +02:00
Jon Crowell
1a3bfa460b Pass in the correct variable name (#313)
We define the response variable but then pass in an undefined "result" variable
2019-02-13 13:29:26 +02:00
Steven Shen
4fd4d7a4ef Update data-source.md (#309) 2019-02-13 13:29:06 +02:00
gagansaini1212
ff747aa059 grammatical mistake (#337) 2019-02-13 13:27:44 +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
Peggy Rayzis
ee096bb604 Update _config.yml 2019-02-12 15:22:40 -05:00
Peggy Rayzis
13c9c52e2c Add Principled GraphQL link 2019-02-12 15:22:40 -05: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
Raymond Camden
4ecf6b850a Update schema.md
I felt like the text saying to include schema stuff "inside the gql function" may not be quite clear enough for folks who haven't seen template strings or perhaps haven't seen template strings used as a function in that style.
2019-02-05 12:12:56 -06: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
fd67f62e8a Merge pull request #335 from apollographql/adam/19/1/metrics-agent
Docs for setting up analytics agent
2019-01-29 23:36:57 -08: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
Hugh Willson
3c36f8ccfe Merge pull request #332 from apollographql/hwillson/remove-initializers
Replace local state `initializers` with `cache.writeData`
2019-01-29 07:33:27 -05:00
Hugh Willson
1ce96777bd Replace local state initializers with cache.writeData
Initializers are no longer part of the AC local state API. We're
now recommending that people use `cache.writeData` directly, since
it's already part of the Apollo Cache API and is more flexible.
2019-01-28 12:17:20 -05:00
Danielle Man
e2c2dd1d1c Merge pull request #331 from kylekarpack/patch-1
Fix Tutorial Typo
2019-01-25 18:00:23 -05:00
Danielle Man
17ae82e5a7 Merge branch 'master' into patch-1 2019-01-25 17:47:59 -05:00
Danielle Man
4e3d636225 Merge pull request #303 from apollographql/evans/add-codeowners
Add codeowners for PR reviews
2019-01-25 17:47:37 -05:00
Danielle Man
9b3250cd96 Merge branch 'master' into evans/add-codeowners 2019-01-25 17:45:00 -05:00
Alane Parisot
fe2a793a5f Fix getAllLaunches Variable Mismatch (#304)
Replace `result` with `response`.
2019-01-25 14:04:49 -08:00