Commit Graph

417 Commits

Author SHA1 Message Date
Danielle Man
7bdbdea2b2 Merge branch 'master' into patch-1 2019-03-19 23:43:13 -07:00
Danielle Man
a5154e34f1 Merge branch 'master' into patch-1 2019-03-19 23:38:39 -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
Michael Neeley
faa851a61b Remove Unnecessary Import
gets rid of a linter error:

./src/index.js
  Line 7:  'gql' is defined but never used  no-unused-vars
2019-03-10 14:30:36 -04:00
Michael Neeley
e4a0ec7544 Added Import Statements
Just added the necessary import statements so a beginner doesn't get errors on build.
2019-03-10 14:08:01 -04: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
fe8b3a301f Merge branch 'master' into patch-1 2019-03-06 23:31: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
Bill Fienberg
7c4a4173e6 Replace double quotes with single quotes 2019-03-03 02:24:30 -06:00
Bill Fienberg
d5981645f8 Add import for React
Without React, the code throws the following error:
`'React' must be in scope when using JSX  react/react-in-jsx-scope`
2019-03-03 02:23:48 -06:00
Bill Fienberg
20df5cc0c9 Add import for ReactDOM
In the Connect your client to React section, the code doesn't work without importing `ReactDOM`.
2019-03-03 02:11:07 -06: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
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
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
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
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
Alane Parisot
fe2a793a5f Fix getAllLaunches Variable Mismatch (#304)
Replace `result` with `response`.
2019-01-25 14:04:49 -08:00