Evans Hauser
a7cd3a43e8
Apollo Server 2:Automatic Persisted Queries ( #1149 )
2018-06-11 15:44:20 -07: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
75e661e9b2
apollo-server-core: stronger typing on context in GraphQLServerOptions as a function
2018-05-11 15:53:17 -07:00
Evans Hauser
a7772a01fb
apollo-server-core: wrap error thrown by context construction in apollo error to add code
2018-05-11 15:53:17 -07:00
Evans Hauser
f6eece6294
apollo-server-core: move logging into separate file
2018-05-11 15:53:16 -07:00
James Baxley
68dec79529
clean up and move pieces around
2018-05-11 15:53:14 -07:00
Jesse Rosenberger
4cbaf4652d
Prettier for one change in #919 .
2018-04-18 15:18:30 +03:00
Jamie Talbot
f387a1c824
Tighter context typing for GraphQLServerOptions ( #919 )
2018-04-18 14:16:45 +03:00
David Glasser
7d1165f1e0
All: allow cacheControl: {defaultMaxAge: 5}
. ( #922 )
2018-03-28 13:56:22 -07:00
Marvin Hagemeister
9e8984c2ee
Inline all possible functions that are used only once ( #821 )
...
* Inline isFunction type-guard
* Don't redefine functions on doRunQuery
* Update CHANGELOG
2018-03-12 21:25:12 +02:00
Laurin Quast
df51fd90da
Setup prettier ( #724 )
...
* Setup prettier and precommit hooks
* Format code with prettier
* Use husky because it works...
* Move prettier config to .prettierrc file
* Implement fixing markdown file formatting when running lint-fix script
* Format markdown files
* Add .json file formatting
* Fixes json file formatting
* Add pretteir linting step
* Remove tslint
* Use gitignore for prettier
* Fix linting errors
* Ignore submodule folder
2018-01-08 15:08:01 -08:00
Martijn Walraven
818ddfa3bd
Add support for Apollo Cache Control
2017-10-24 09:09:08 -07:00
Martijn Walraven
19e365f044
Add tracing support ( #490 )
2017-08-09 16:57:17 +02:00
Mikhail Novikov
c51fc65da8
Add ability to provide default field resolvers ( #482 )
2017-08-02 12:20:10 +02:00
Martijn Walraven
300c0cd12b
Rename packages from graphql-server- to apollo-server- ( #465 )
2017-07-17 16:29:40 -07:00