Commit Graph

390 Commits

Author SHA1 Message Date
Danielle Man
fb092b8542 Merge branch 'master' into patch-1 2019-03-06 23:28:34 -08:00
Ahmed Atito
9858382c77 Update Apollo community from Slack to Spectrum. (#356) 2019-03-06 15:08:20 -08: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
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
Jonatan Kłosko
080d87cf9b Fix duplicated heading id in the docs. (#312) 2019-01-24 12:32:41 +02:00
Jesse Rosenberger
0d314acfd9 Merge branch 'master' into abernix/op-reg-subscriptions-disclaimer 2019-01-24 12:26:02 +02:00
Jesse Rosenberger
d23f3f6377 op-reg: Add line highlighting for more clarity in the differential changes. 2019-01-24 12:22:34 +02:00
Dominik Gruber
139eed4401 Fix typo in data source tutorial (#314) 2019-01-24 11:57:53 +02:00
Borek Bernard
62fbe65597 Fix Markdown formatting in client.md (#315) 2019-01-24 11:57:05 +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
Wojciech Bilicki
c5a3e17631 Change Buffer constructors to from method (#260)
https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/ for deprecation blog post
2019-01-17 11:56:02 -08:00
Scott
6921b35296 local-state: add time to finish and fix language (#298)
* Update local-state.md

* Remove client awareness headers
2019-01-17 11:52:51 -08:00
mwindson
a876b82389 Queries: Add null check on data.me (#300) 2019-01-17 11:28:43 -08:00
Scott
f0d5f60270 Mutations: add time to finish and initialization code (#297)
* Update mutations.md

* Update client awareness headers

* Remove client awareness headers

The apollo client constructor accepts `clientName` and `clientVersion` now!
2019-01-17 11:26:18 -08:00
Scott
d1cdab81b6 Queries: add time to finish and clean imports (#296) 2019-01-17 11:19:19 -08:00
Christos Dimitroulas
ee486ec6b3 improve data-source tutorials docs by using more expressive variable names (#294) 2019-01-17 11:17:02 -08:00
Scott
51fe31bce5 Production: add time to finish and api key context (#291)
* Update production.md

* Update production.md
2019-01-17 11:16:05 -08:00
Scott
014cfe7d33 Client: Add time to finish and helpful context (#292)
* Update client.md

Some corrections/ improvements. Fixes https://github.com/apollographql/fullstack-tutorial/issues/36

Scott

* Update client.md

Add time to accomplish.

* Update client.md

* Update client.md

* Update client.md
2019-01-17 11:13:23 -08:00
Scott
51909b3459 Resolvers: time to finish and helpful hints (#290)
* Update resolvers.md

* Change js comments to graphql style in sdl
2019-01-17 11:05:17 -08:00
Scott
aa2877aee3 Data Sources: add time to complete and some helpful hints (#289)
* Update data-source.md

Some small updates.

* Update data-source.md
2019-01-17 11:00:08 -08:00
Ezeki Zibzibadze
ddfbb97912 Fix example of Local schema (#286) 2019-01-17 10:53:07 -08:00
Nil
fbc2cc9849 update schema tutorial (#272)
Because the argument name is talked above (missionPatch argument), I just remove argument names for legibility.
2019-01-17 10:50:21 -08:00
Brian
a1a628f5a7 Update client.md (#262)
Client does not start up without cache or link properties defined.
2019-01-17 10:49:01 -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
3b3cb14034 highlight a code line 2018-12-14 16:46:13 -08:00
Danielle Man
c870acda4d Merge branch 'master' into dman/apollo-config 2018-12-14 15:01:19 -08:00
Danielle Man
24580efc6b Copy improvements per Trevor's suggestions 2018-12-14 14:57:37 -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