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
Daniel Rinehart
0d5add048e
allow GraphiQLOptions to be a function and refactor rendering path to reduce duplication
2017-06-13 12:46:06 -04: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
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
Urigo
c4fabe3675
added support for subscriptions
2017-03-28 20:25:45 +03:00
Hagai Cohen
809ea8f77c
chore(travis): increased timeout globally to 5s, reverted node 4 patches
2017-01-24 13:42:17 +02:00
Hagai Cohen
3c249eb540
test(batching#176): increase timeout for deflat/gzip tests, for slow Node 4
2017-01-24 12:17:01 +02:00
Jonas Helfer
ec43ee763f
Merge branch 'master' into greenkeeper-tslint-4.3.1
2017-01-23 11:02:50 -08:00
Hagai Cohen
e6f09c01be
chore(tslint): fix linting errors
2017-01-23 13:16:52 +02:00
Alan Christensen
539dd641bf
Use graphiql option variables if query variables are not supplied
2017-01-22 21:27:17 -06:00
Hagai Cohen
01e3010323
fix(get-support): preparse query for GET requests to handle query properly
2017-01-18 10:49:13 +02:00
Hagai Cohen
32140cb3e7
chore(get-support): refactor to share http logic in core module
...
Closes #186
2017-01-13 16:26:41 +02:00
Hagai Cohen
5b46db4aa0
fix(get-support): fixed returned status for get without query
2017-01-13 11:49:31 +02:00
Hagai Cohen
93d7966df8
chore(get-support): rename buffer to requestPayload
2017-01-13 11:49:30 +02:00
Hagai Cohen
a2d7c85ff2
chore(get-support): support for GET method for express and connect
2017-01-13 11:45:10 +02:00
Sashko Stubailo
c143c6ab1b
Fix express typings
2017-01-04 18:10:30 -08:00
tallyb
958d8f0b6f
test: Remove only
2016-11-15 18:47:46 +02:00
tallyb
f0e534b430
test: Fix failing error text 0.8.0
2016-11-15 18:46:18 +02:00
Sashko Stubailo
42613a448a
Rename ApolloOptions to GraphQLOptions
2016-10-22 23:56:14 -07:00
Sashko Stubailo
cd298c5b48
Rename stuff to not have apollo in it
2016-10-22 23:52:32 -07:00
Sashko Stubailo
4a5e6b3b7f
Rename a variety of things to no longer be called Apollo
2016-10-22 18:48:23 -07:00
Sashko Stubailo
2bbd0affee
Formatting
2016-10-22 17:05:37 -07:00
Nick Martin
78d8ef367b
Shallow clone the context
object for each query in a batch.
...
This lets users distinguish multiple queries in a batch. It also
protects against users modifying the context in one query and
affecting another. (Although modifications to existing properties
of the context object will still be visible in other queries because
we only shallow copy.)
2016-10-22 16:27:22 -07:00
Hagai Cohen
8df3383ece
chore(package): rename apollo-server to graphql-server
...
Closes #163
2016-10-18 09:36:07 +03:00