Commit graph

9 commits

Author SHA1 Message Date
Martijn Walraven
300c0cd12b Rename packages from graphql-server- to apollo-server- (#465) 2017-07-17 16:29:40 -07:00
Walter Barbagallo
6a11817192 Reverted. Simplified resolution
This reverts commit cbb7be90f8.
2017-07-12 15:27:29 +02:00
Walter Barbagallo
cbb7be90f8 Using await on graphiql handler 2017-07-10 10:38:37 +02:00
Daniel Rinehart
20763ba076 Merge remote-tracking branch 'upstream/master' into graphiql-function 2017-06-16 11:00:42 -04:00
Michael Trotter
49dff93367 Add routing to micro tests 2017-06-15 21:10:16 -07:00
Michael Trotter
e9f3159b24 Fix Micro test compilation
Adding @types/micro caused the test to stop compiling.  Adjusted the import to fix.
2017-06-15 21:10:16 -07:00
Michael Trotter
dadb1828df Fix Micro server handler
The handler was not returning `httpRunQuery`'s Promise, causing micro to send empty responses and leaving Node with unhandled Promise rejections when that Promise tried to write headers.

I also used `return` and `throw` instead of manipulating the response directly.  This allows wrapping middleware to intercept responses if desired.
2017-06-15 21:10:16 -07:00
Daniel Rinehart
0d5add048e allow GraphiQLOptions to be a function and refactor rendering path to reduce duplication 2017-06-13 12:46:06 -04:00
Nick Nance
45aa44f08e Zeit micro support (#347)
* micro is only supported in node 6 or greater
* update dependencies
* working Graphiql Server
* updated changelog
* fix linting errors
* adding micro to test suite
* added micro example
2017-04-08 14:17:49 -07:00