Commit graph

346 commits

Author SHA1 Message Date
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
Jonas Helfer
c69809afab Pin Fibers to 1.0.15 2017-06-13 23:17:52 -07:00
Jonas Helfer
93a1bafb34 Revert "Update dependencies"
This reverts commit 2b30dbcb35.
2017-06-13 23:17:52 -07:00
Jonas Helfer
86e1b03fd1 v0.8.2 2017-06-13 23:17:52 -07:00
Jonas Helfer
8423cab0e1 Update dependencies 2017-06-13 23:17:52 -07:00
Jonas Helfer
b8392da9b6 Revert "Update dependencies"
This reverts commit f1245fc904.
2017-06-13 23:17:52 -07:00
Jonas Helfer
f00c8de00d v0.8.1 2017-06-13 23:17:52 -07:00
Jonas Helfer
874b1418c9 Update dependencies 2017-06-13 23:17:52 -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
Jonas Helfer
6d8047f5dd Remove outdated comments 2017-06-12 22:30:49 -07:00
Hagai Cohen
6d26594858 fix(graphql-server-core): validation for get queries #2 2017-06-12 22:30:49 -07:00
Hagai Cohen
56c346e296 fix(graphql-server-core): validation for get queries 2017-06-12 22:30:49 -07:00
Hagai Cohen
62c6445c58 test(get-validation): add failing test for validation over GET queries 2017-06-12 22:30:49 -07:00
Jonas Helfer
6cfa82ff58 v0.8.0 2017-05-30 20:11:26 -07:00
Jonas Helfer
c4e2f5224a Update dependencies 2017-05-30 20:11:26 -07:00
Jonas Helfer
c85d830c4f Do not include types in koa, restify 2017-05-30 18:12:17 -07:00
dotansimha
35edcea7d2 try to fix tests 2017-05-30 14:36:47 +03:00
dotansimha
9eac2f9a5b update deps 2017-05-29 09:18:18 +03:00
dotansimha
081aed130f update graphiql and move transport version to const 2017-05-28 20:11:40 +03:00
dotansimha
a614ba2543 updated graphql-js version 2017-05-28 20:07:06 +03:00
dotansimha
0401c8e3a6 updated subscriptions-transport-ws version 2017-05-28 16:40:21 +03:00
dotansimha
e718dc5e2e chore(deps): updated graphql-js version to support 0.10.0 2017-05-28 16:37:16 +03:00
Blake Embrey
0e52588a1f Append location.hash to history navigation 2017-05-19 22:30:43 -04:00
Henric Trotzig
0384643778 Stop throwing errors from expressApollo middleware
As reported in #313 and #384, an error thrown that isn't a
`HttpQueryError` will result in an "unhandled promise rejection",
leading to infinitely hanging requests.
2017-05-18 09:23:12 +02:00
Henric Trotzig
d6fe8a15d1 Add test for graphql type validation errors
While exploring ways to reproduce #313, I thought that validation errors
coming from GraphQL's internal type checking would reproduce the issue.
It didn't. But instead of throwing out the test I wrote, I thought it
might be good to keep it around to prevent future possible regressions.

I'll keep exploring ways to reproduce the issue I'm experiencing in a
subsequent commit(s).
2017-05-18 09:23:12 +02:00
Hagai Cohen
7c0dd0eee0 chore(hapi): fix typings rename 2017-05-18 01:04:23 +03:00
Jonas Helfer
4ab4b62c25 v0.7.2 2017-04-21 10:43:34 -07:00