Commit Graph

377 Commits

Author SHA1 Message Date
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
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
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
Danielle Man
8997865f51 Merge branch 'master' into patch-1 2018-12-13 16:05:59 -08:00
Danielle Man
2ad52294a0 Merge branch 'master' into patch-1 2018-12-13 16:03:17 -08:00
Danielle Man
2aa191aef0 Merge branch 'master' into patch-1 2018-12-13 15:59:11 -08:00
Danielle Man
fbcdcd54c3 Merge branch 'master' into patch-1 2018-12-13 15:54:52 -08:00
Danielle Man
ca0a0adc7b Move the proxy 1.0 migration guide to the Platform docs (unlinked) 2018-12-13 14:14:59 -08:00
Danielle Man
ea1b0d0637 Move the Engine proxy troubleshooting guide to the Platform docs 2018-12-13 14:02:40 -08:00
Danielle Man
b1204a650c Move the Engine proxy feature config article to the Platform docs 2018-12-13 13:39:57 -08:00
Mounish Sai
cfd47152fb Minor Correction
Replaced signup failed to booking trips failed.
2018-12-12 23:48:06 +05:30
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
Trevor Scheer
cd14ec68a8 Merge branch 'master' into trevor/update-tooling-usage 2018-12-07 16:31:58 -08:00
Trevor Scheer
09b3a492c4 Update apollo command instructions
Update some documentation around using the apollo command.
For a new project, service:check will fail, so we should only recommend
that after we know they've published once.
2018-12-07 16:26:04 -08:00