Commit Graph

132 Commits

Author SHA1 Message Date
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
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
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
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
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
Mounish Sai
cfd47152fb Minor Correction
Replaced signup failed to booking trips failed.
2018-12-12 23:48:06 +05:30