Commit Graph

142 Commits

Author SHA1 Message Date
Trevor Blades
ece4970264 Upgrade theme and fix internal links 2019-05-29 15:36:36 -07:00
Trevor Blades
571b743669 Fix more broken links 2019-05-29 15:36:36 -07:00
Trevor Blades
b53ed6b343 Clean up markdown for use with gatsby-remark system 2019-05-29 15:35:25 -07:00
Danielle Man
2f029c6203 Merge branch 'master' into master 2019-05-27 17:01:38 -07:00
Robert Holloway
c57bbabb3a Last paragraph of the file not correct.
The last paragraph of the resolvers.md file is not accurate. It states that the next section will be "...about testing your graph." However, the next section linked is "4. Run your graph in production". I would propose that the graph testing actually be put as the next section instead of how to run in production.
2019-05-24 08:25:09 -06:00
andi hakim arif
b77d9dc3aa adding missionPatch to schema 2019-05-19 09:27:38 +07:00
Danielle Man
bcd90362a7 Merge branch 'master' into patch-3 2019-05-16 18:56:00 -07:00
Danielle Man
370c1def70 Merge branch 'master' into patch-1 2019-05-16 18:50:58 -07:00
Antoine Pultier
3e4dc5f855 Security note for custom data sources 2019-05-15 15:09:30 +02:00
Ruffeng
7fba70f73d Update resolvers.md
The first code snippet was missing the name of the file is editing. Even though the description explains which file has to be edited, the rest of the code snippets contain the path of the file to modify.

So I added it to make it more hegemony along the rest of the code snippets.
2019-04-28 20:54:34 +02:00
Doga Fincan
5b4db6e7b8 Fix grammar in data-source.md 2019-04-28 15:14:43 +02:00
William Chia
9259196366 clarify resolver snippet (#361) 2019-04-16 16:35:22 -07:00
Danielle Man
42e7509c7b Merge branch 'master' into patch-1 2019-04-16 16:28:51 -07:00
Danielle Man
ea57dc5a56 Merge branch 'master' into incomplete-codeblock 2019-04-16 16:25:11 -07:00
Jake Dawkins
b621438c9c Add client resolvers in correct step (#412)
* Add client resolvers in correct step
* fix line number highlighting in local-state
2019-04-16 16:22:30 -07:00
Trevor Blades
3faf2b4bcf Add more context to data sources and resolvers code blocks 2019-04-16 16:18:21 -07:00
Trevor Scheer
ff9de271d5 General tidying and maintenance of fullstack tutorial (#414)
Fix typos, usage, etc.
2019-04-16 16:14:48 -07:00
Adam Zionts
8adaeabc18 Merge branch 'master' into adam/19/4/some-typos 2019-04-16 15:36:32 -07:00
Adam Zionts
684b5274d9 typos 2019-04-16 15:34:52 -07:00
Justin Anastos
0456a03fca Change local cartItems type (#349)
related to https://github.com/apollographql/fullstack-tutorial/pull/72
2019-04-16 15:03:41 -07:00
Borek Bernard
cf34dab109 Clarifying note about Login at bottom of tutorial part 7 (#319) 2019-04-16 14:45:37 -07:00
Borek Bernard
fe616f3eaf Fix code example – add StyledButton (#323)
... so that LogoutButton works fine
2019-04-16 14:36:37 -07:00
Loren ☺️
4f1aac4dc6 Fix broken link in data-source.md (#384) 2019-04-05 14:17:42 -07:00
Lula Leus
2570b3ebea Adding forgotten import statement (#381) 2019-04-05 14:16:53 -07:00
Trevor Blades
7c26749372 Fix images in html 2019-03-25 14:08:10 -07:00
Francois Bissonnette
7d9cd24bb6 Fix confusing highlight on data-source tutorial 2019-03-25 09:50:22 -04:00
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
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
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
Garrett B
c58610743c Clarify appropriate location for schema code in tutorial
The existing documentation mentions that "_Your schema code will go inside the `gql` function,_" but I found that easy to miss and only informative in retrospect. This change adds another line immediately before the reader needs to know where the SDL code goes to help curb the confusion that I went through.
2019-03-06 13:14:13 -08: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
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
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
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
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