Evans Hauser
5f835cbbf1
docs: add short section to what's new about errors
2018-04-26 12:27:07 -07:00
Evans Hauser
80e0c30782
docs: add missing ` in essentials/server
2018-04-25 15:25:07 -07:00
Jesse Rosenberger
b6bdfdbbad
docs: Add instruction for applyMiddleware
.
2018-04-25 22:15:34 +03:00
Jesse Rosenberger
16e1286259
docs: Add color about app
, and where it might be found in existing applications.
2018-04-25 14:05:27 +03:00
Jesse Rosenberger
c1744faec6
docs: Improve "apollo-server/<variant>" explanation.
2018-04-25 14:04:46 +03:00
Jesse Rosenberger
5317483a83
docs: Simplify explanation of graphql
.
2018-04-25 14:04:04 +03:00
Jesse Rosenberger
6e98ba57ef
docs: Use gql
template literal tag in all examples.
...
While the `gql` tag is not currently _required_, it does make it easier to
implement additional, development-friendly functionality in the future.
For example, it could avoid the need to question whether a string literal is
actually using Schema Definition Language (SDL) and avoid the need to
look for context clues.
By implementing these suggestions now, we can avoid the need to ask
developers to refactor in the future.
2018-04-25 14:00:33 +03:00
Jesse Rosenberger
8eaa998c43
docs: Essentials / Server (now, with middleware!)
2018-04-25 12:28:32 +03:00
Evans Hauser
cd88fbe695
add creating schema directives to advanced section
2018-04-24 15:16:11 -07:00
Jake
57b56427dc
[WIP] refined data fetching essentials
2018-04-24 12:55:02 -04:00
Jesse Rosenberger
88adbdbe86
Add "Next steps" for consistency with other sections.
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
a2b926fbc0
Remove SCRATCHPAD.
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
9145c5cc6c
Fix typo in named operations.
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
ed016762f7
Shorten operation name.
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
f57cd6b34a
docs: Variables as arguments.
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
1b9d32ddb0
s/name/identifier/ for named operations.
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
84c41ce21a
docs: Respond to @evans feedback about programmatic introspection.
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
096e86821d
docs: Clarify arguments.
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
9635b794fb
docs: Draw attention to two of REST's downfalls: over-fetching and stiching.
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
569c826470
TODO: Passing arguments as variables.
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
d3ea5004f2
Essentials > Schema > Operation Names
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
937e7ff5d4
Essentials > Schema > Introspection.
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
3cdbac47be
Make it more clear that introspection is optional.
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
11adbf5749
Variables section, WIP header
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
51b1f339e2
Essentials > Schema, Part 2 (Mostly Mutations)
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
a0c64e78c0
Essentials > Schema, Part one (mainly "Queries").
2018-04-24 17:58:44 +03:00
Jesse Rosenberger
32a83b3686
docs: Change GraphQL Subscriptions title to match package name for API.
2018-04-24 14:18:40 +03:00
Jesse Rosenberger
1e1c7fd6b2
docs: Mock out API > apollo-server
.
2018-04-24 14:17:51 +03:00
Evans Hauser
723b52845a
standardize organization of typeDefs using concat and fixed extend example
2018-04-23 22:46:43 -07:00
Jake Dawkins
4fae3da13e
added some detail and fixed grammar ( #981 )
2018-04-23 22:04:15 +03:00
James Baxley
bdc2a82db8
docs: Best practices ( #978 )
...
* clean up some code examples
* add in some best practies
2018-04-23 22:01:54 +03:00
Jesse Rosenberger
e4977737e9
Rename slugs for "Essentials" pages to match other naming conventions.
...
Plus, slugs.
cc @JakeDawkins
2018-04-23 19:04:03 +03:00
Jesse Rosenberger
ded3aeb708
The backends section has been temporarily eradicated.
2018-04-23 12:29:44 +03:00
Evans Hauser
99a39907f4
add advanced section for scalars and enums
2018-04-22 23:40:56 -07:00
Evans Hauser
899dc68cd3
schema organization now places resolvers next to typeDefs
2018-04-22 22:53:29 -07:00
Evans Hauser
74431f57b7
initial information about schema organization lifted from GraphQL tools
2018-04-20 18:56:49 -07:00
Evans Hauser
4cb76e89e1
flesh out the schema/types
2018-04-20 16:30:02 -07:00
Evans Hauser
e3ea618788
resolvers and directives sections lifted from graphql-tools
2018-04-20 14:51:04 -07:00
Jesse Rosenberger
82caa753cd
Shuffle schema/query/resolver content bucketing.
2018-04-20 22:01:49 +03:00
Jesse Rosenberger
200c385757
Remove some leftover artifacts.
2018-04-20 21:54:51 +03:00
Evans Hauser
c7854a469c
add mutation sections to authentication and import -> require
2018-04-20 11:33:44 -07:00
Jesse Rosenberger
6042c08011
Random spelling fixes.
2018-04-20 21:16:46 +03:00
Jesse Rosenberger
3acdacbfa9
Context 👋
2018-04-20 20:36:32 +03:00
Jesse Rosenberger
1d09c86f32
title: Fetching data
2018-04-20 20:25:23 +03:00
Jesse Rosenberger
f2b27a6630
Title: Running a server.
2018-04-20 20:22:52 +03:00
Jesse Rosenberger
476433418c
Change subtitles.
2018-04-20 20:03:50 +03:00
Jesse Rosenberger
cb792f5f0d
Use a directory called images
instead of img
.
...
While a lose convention, `images` is more common and more explicit.
2018-04-20 19:38:48 +03:00
Jesse Rosenberger
b605f43115
Follow up on deploy
=> deployment
renaming.
2018-04-20 19:36:08 +03:00
Jesse Rosenberger
7e58b7a24d
GraphQL syntax highlighting with "graphql" type.
2018-04-20 19:35:27 +03:00
Jesse Rosenberger
70c1d79a64
Bash syntax highlighting to just "Shell".
2018-04-20 19:34:35 +03:00