Evans Hauser
e420094f3d
docs: remove old hapi migration and move images into same folder
2018-06-13 15:15:09 -07:00
Evans Hauser
5e59605c1e
docs: remove GraphiQL and old migration guides
2018-06-13 14:02:49 -07:00
David Glasser
1fd3b216d0
Remove engineProxy support
...
We recommend the use of apollo-engine-reporting and the other built-in features
of AS 2.0 rather than engineProxy. You can still use the apollo-engine npm
module manually with AS 2.0, or stay on AS 1.0.
2018-06-13 12:32:05 -07:00
Evans Hauser
ba31cf7a44
Integrations export their own ApolloServer ( #1161 )
...
* feat: ApolloServer is created and exported by all variants
* docs: add initial docs around exporting ApolloServer
* feat: export gql from integrations
* docs: change apollo-server examples to use express with registerServer
* server: remove registerExpressServer
* core, docs: comment functions, fix api reference, context creation more like middleware args
* docs: fix integrationed typo
2018-06-12 17:46:56 -07:00
Evans Hauser
a7cd3a43e8
Apollo Server 2:Automatic Persisted Queries ( #1149 )
2018-06-11 15:44:20 -07:00
Clarence Ngoh
5f307928a2
Add BadUserInputError as extension of ApolloError ( #1143 )
...
* Add BadUserInputError and TransientError as extensions of ApolloError
* remove TransientError
* update test so that properties end up under `error.extensions.exception`
* update documentation to talk about BadUserInputError
* check for properties after formatApolloErrors has been called
* fixed highlighted lines for docs
* export BadUserInputError from `apollo-server`
* fixed highlighted lines for docs
* export BadUserInputError from `apollo-server`
* update changelog
2018-06-08 10:39:23 -07:00
Evans Hauser
63b8b22d53
docs: correct headers on 2.0 migration guide
2018-06-07 11:55:12 -07:00
Evans Hauser
62a4e04cf6
docs: convert import to requires ( #1150 )
2018-06-07 11:40:41 -07:00
Evans Hauser
2ba5da9a59
docs: using an existing schema added to migration guide
2018-06-06 11:42:25 -07:00
Evans Hauser
1bfead6586
docs: remove section on resolvers
2018-06-06 11:36:49 -07:00
Evans Hauser
5b4644fbfd
docs: add missing gql tags and add comments that gql is necessary for apollo-server
2018-06-06 11:21:05 -07:00
Evans Hauser
3deceffe93
docs: add section on logging under features
2018-06-04 14:35:39 -07:00
Evans Hauser
311c927c83
docs: add information around setting up additional middleware in migration/api
2018-06-04 14:34:20 -07:00
Evans Hauser
9ec6ecc8bb
docs: unindent getting started code
2018-06-04 14:33:18 -07:00
Yihong
04d0322d0c
apollo-server: Fix registerServer path argument ( #1133 )
...
* core: add test for context as async function
* core,express: add support and test of context as async function
* Update apollo-server.md
Fix style for `registerServer`.
2018-06-04 09:49:21 -07:00
Prosper Otemuyiwa
561033a17f
Merge pull request #1124 from apollographql/add-note-to-gql
...
Update Apollo Server docs, gql, middleware
2018-06-01 22:18:59 +01:00
unicodeveloper
c26affb990
add middleware example
2018-06-01 22:16:28 +01:00
unicodeveloper
31609b6853
Add usage option for middleware in api ref
2018-06-01 21:56:52 +01:00
Evans Hauser
db3316cbac
Merge branch 'version-2' into refactor-2.0
2018-06-01 13:36:34 -07:00
unicodeveloper
8821ba522a
import ApolloError
2018-06-01 21:32:57 +01:00
unicodeveloper
3b956424e9
Add clarification for gql
2018-06-01 21:29:22 +01:00
Jesse Rosenberger
83f98e4902
chore(deps): update dependency meteor-theme-hexo to v1.0.13 ( #1118 )
2018-06-01 01:06:10 +03:00
David Glasser
7444904518
Update for graphql-extensions@0.1.0 API
...
- Actually call validationDidStart and parsingDidStart.
- Use new graphql-extensions API which:
- replaces fooDidEnd with a handler returned by fooDidStart
- adds options to various methods
- has a new willSendResponse method
- requires you to construct the extension objects yourself (but make
the external API for specifying extensions to ApolloServer be
factories, because extensions are per request)
- Make a better effort at consistently calling end handlers even on error
2018-05-31 00:14:59 -07:00
Sebastian
2acf5654c3
Added an option to support additional extensions
...
(Originally #934 , tweaked by @glasser.)
2018-05-31 00:14:59 -07:00
Evans Hauser
7e172b038d
docs: replace references to variants with integrations
2018-05-30 15:25:12 -07:00
Evans Hauser
13e788e92b
docs: file uploads, subscriptions, graphql playground added to whats new
2018-05-30 15:25:12 -07:00
Evans Hauser
a1084059c7
docs: add code snippet example to context api reference
2018-05-22 17:47:48 -07:00
Evans Hauser
d84061b148
docs: remove old way of adding schema directives
2018-05-22 17:39:37 -07:00
Evans Hauser
531162c693
docs: fix dead links
2018-05-22 17:39:19 -07:00
Evans Hauser
20a41163c1
docs: remove dead links from essentials data and fix context creation
2018-05-22 17:38:41 -07:00
Evans Hauser
5577f54577
docs: flesh out api documentation for apollo-server
2018-05-22 17:14:52 -07:00
Renovate Bot
1d6ca41f28
chore(deps): update dependency hexo-server to v0.3.2
2018-05-11 15:54:20 -07:00
Jesse Rosenberger
adaad08615
Temporarily remove version 2.
2018-05-11 15:53:06 -07:00
Evans Hauser
260061301c
docs: add mls and nytimes blogs as case studies
2018-05-09 11:12:21 -07:00
Evans Hauser
0a552374c7
docs: add api reference link to delegateSchema in schema-delegation
2018-05-09 11:12:00 -07:00
Evans Hauser
1068793f79
docs: add code examples for whats-new and new features
2018-05-09 11:10:55 -07:00
Evans Hauser
1d58af3d28
docs: fix links in apollo-server and graphql-tools reference
2018-05-09 10:33:15 -07:00
Evans Hauser
fd39fba4f4
docs: correct title graphql-tools reference api and add introduction
2018-05-09 10:07:45 -07:00
Evans Hauser
b6b5790ae8
docs: add graphql-tools references in mocking
2018-05-08 18:49:50 -07:00
Evans Hauser
75239b06a9
docs: initial graphql-tools api reference and point engine api reference at node sidecar
2018-05-08 18:49:50 -07:00
Evans Hauser
8e0aefa7db
docs: remove apollo-server html custom formatting and title quotes
2018-05-08 18:49:47 -07:00
Danilo Britto Nuñez
3e00182a16
Docs: Fix typo in mocking section( #1048 )
2018-05-08 13:52:37 -07:00
Jesse Rosenberger
e775f70f7d
Address feedback from @unicodeveloper.
2018-05-04 17:22:08 -07:00
Jesse Rosenberger
658827654e
Consistent quotes.
2018-05-04 17:22:08 -07:00
Jesse Rosenberger
645dae3d7a
Spelling fix
2018-05-04 17:22:08 -07:00
Jesse Rosenberger
c74482e7c5
Add additional clarity to the reasons for the API changes.
2018-05-04 17:22:08 -07:00
Prosper Otemuyiwa
87d59e9f87
Merge pull request #1037 from apollographql/docs/v2-essentials-server
...
refactor code on server essentials page
2018-05-04 16:06:53 -07:00
unicodeveloper
cd7f92a793
refactor code on server essentials page
2018-05-04 16:04:49 -07:00
Prosper Otemuyiwa
92e75d44dd
Merge pull request #1036 from apollographql/docs/v2-essentials-server
...
[wip] fix Server Essentials for new API.
2018-05-04 15:47:16 -07:00
unicodeveloper
84ce0efa77
Fix server middleware option
2018-05-04 15:45:53 -07:00