Commit graph

16 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
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
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
Urigo
c4fabe3675 added support for subscriptions 2017-03-28 20:25:45 +03: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
Sashko Stubailo
42613a448a Rename ApolloOptions to GraphQLOptions 2016-10-22 23:56:14 -07:00
Sashko Stubailo
4a5e6b3b7f Rename a variety of things to no longer be called Apollo 2016-10-22 18:48:23 -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
Renamed from packages/apollo-server-express/src/expressApollo.ts (Browse further)