Commit graph

972 commits

Author SHA1 Message Date
Martijn Walraven
7cf0580122 Add connect-query middleware in front of graphqlExpress 2017-08-09 20:31:00 +02:00
Martijn Walraven
5db613facd Use supertest query() method instead of manually constructing query string 2017-08-09 20:30:05 +02:00
Martijn Walraven
1b70453939 Remove deprecated supertest-as-promised and replace by regular supertest 2017-08-09 17:35:25 +02:00
Martijn Walraven
20495ada81 Update dependencies 2017-08-09 17:30:13 +02:00
Martijn Walraven
693eb1da03 Update fibers and meteor-promise dependencies 2017-08-09 17:04:29 +02:00
Martijn Walraven
19e365f044 Add tracing support (#490) 2017-08-09 16:57:17 +02:00
Yucun
d102a88067 Update restify lib (#475) 2017-08-09 13:26:26 +02:00
Simon Mansfield
c26b9753d5 Name changes that were missed 2017-08-08 14:08:40 +01:00
sbr464
8afbcc5070 updated zeit/micro to 8.0.1 2017-08-02 12:29:30 -06:00
Mikhail Novikov
c51fc65da8 Add ability to provide default field resolvers (#482) 2017-08-02 12:20:10 +02:00
Martijn Walraven
7b8409a3fa v1.0.5 2017-08-01 20:37:04 +02:00
Hagai Cohen
6e30e35869 fix(graphiql): do not pass undefined parameters 2017-07-31 19:22:48 +03:00
Hagai Cohen
fa76131ba1 chore(graphiql): update package and allow full websocket mode 2017-07-31 18:45:50 +03:00
Fabian Schneider
d3380483f6 Add support for GraphiQL editor themes 2017-07-25 08:31:24 +02:00
Martijn Walraven
9b9122f4b9 v1.0.4 2017-07-24 10:22:26 +02:00
Martijn Walraven
90e7eec6b2 v1.0.3 2017-07-24 10:22:07 +02:00
Mikhail Novikov
6016b8527f Revert calling next in middleware (#481) 2017-07-24 10:21:02 +02:00
Marko Klopets
20722fddf2 Update GraphiQL version (#468)
* Update jsDelivr href for GraphiQL to follow new API

The change doesn't seem straightforward with differently configured
packages, i.e only works for GraphiQL out of the ones used here.

* Update GraphiQL to v0.11.2
2017-07-19 11:24:30 -07:00
Marko Klopets
ebb36ad681 Update readme for the koa package (#467)
* Update suggested versions of dependencies for koa

As koa@2 is now the norm, the master/latest releases of both
koa-bodyparser and koa-router support koa@2.

* Document Koa GraphiQL capabilities

* Add link for passHeader reference in doc
2017-07-19 11:12:20 -07:00
Marko Klopets
586889e2ef Fix links to CONTRIBUTING.md and ROADMAP.md in package readmes (#466) 2017-07-19 10:36:59 -07:00
Martijn Walraven
d89a07bc9c v1.0.2 2017-07-17 16:44:05 -07:00
Martijn Walraven
300c0cd12b Rename packages from graphql-server- to apollo-server- (#465) 2017-07-17 16:29:40 -07:00
Andrew Pratt
3d03295974 adding in the callback to express package to allow middleware chaining throughout the application 2017-07-16 22:39:51 -07:00
Sashko Stubailo
525f40ae9a Merge branch 'master' into fix/graphiql 2017-07-12 18:43:46 -07:00
Walter Barbagallo
6a11817192 Reverted. Simplified resolution
This reverts commit cbb7be90f8.
2017-07-12 15:27:29 +02:00
Hagai Cohen
16dc8025b0 fix lint issue 2017-07-12 14:56:21 +03:00
Walter Barbagallo
cbb7be90f8 Using await on graphiql handler 2017-07-10 10:38:37 +02:00
Jim Cummins
c2333798ed fix(graphql-server-micro): micro-router requires one 200 route
Fixes #449 for now by adding a noop route to the example so that graphiql does not 404.
2017-07-07 14:01:31 -05:00
Mike Marcacci
c22bb37996 Fixes broken graphiql endpoint
It looks like be01aee broke the graphiql endpoint by no longer returning the promise.
2017-06-30 20:09:50 -06:00
Jonas Helfer
1e783e550c v1.0.0 2017-06-29 00:05:56 -07:00
Jonas Helfer
1127892754 Update README for restify 2017-06-29 00:05:56 -07:00
Jonas Helfer
b53b631b82 Update README for koa 2017-06-29 00:05:56 -07:00
Jonas Helfer
a39fb748ba Update README for hapi 2017-06-29 00:05:56 -07:00
Jonas Helfer
bb5aa90a89 Update README for express 2017-06-29 00:05:56 -07:00
Jonas Helfer
f3dc616924 Fix typings to correct promise return type 2017-06-28 18:34:21 -07:00
Aashish Welling
451422425b Fix README typos 2017-06-23 16:08:09 -07:00
Jonas Helfer
693991bdac v0.9.0 2017-06-22 13:36:12 -07:00
Daniel Rinehart
20763ba076 Merge remote-tracking branch 'upstream/master' into graphiql-function 2017-06-16 11:00:42 -04:00
Jonas Helfer
08c39f593a v0.8.5 2017-06-15 22:07:36 -07:00
Michael Trotter
49dff93367 Add routing to micro tests 2017-06-15 21:10:16 -07:00
Michael Trotter
9e57e11eb3 Include example in Micro README 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
Jonas Helfer
862f9e0748 Fix typo in hapiApollo.ts 2017-06-14 15:45:24 -07:00
Daniel Rinehart
be01aee734 change how koa error response is returned 2017-06-14 15:52:07 -04:00
Jonas Helfer
38bb67bf6f Merge branch 'master' into graphiql-function 2017-06-13 23:19:14 -07:00
Jonas Helfer
1a764316c8 v0.8.4 2017-06-13 23:17:52 -07:00
Jonas Helfer
ac76453d6c Revert "Update dependencies"
This reverts commit 90a9ec78da.
2017-06-13 23:17:52 -07:00
Jonas Helfer
17869df491 v0.8.3 2017-06-13 23:17:52 -07:00
Jonas Helfer
5bf5a72652 Update dependencies 2017-06-13 23:17:52 -07:00