Commit graph

527 commits

Author SHA1 Message Date
Evans Hauser
6b80ac96a1
apollo-server-hapi: fix graphql gui request, bind server listen, and check for autoListen: false 2018-05-11 15:54:25 -07:00
Evans Hauser
98ca26a303
apollo-server-hapi: initial implementation of apollo-server base class 2018-05-11 15:54:24 -07:00
Evans Hauser
9fa4a8a62b
docs: add parameter movement from constructor to listen to changelog 2018-05-11 15:54:24 -07:00
Evans Hauser
db47867ccb
apollo-server-core: move subscriptions out of constructor into listen function 2018-05-11 15:54:24 -07:00
Seth Madison
8072312b99
bump version of subscriptions-transport-ws for graphiql
The newer subscription client has a more forgiving default ka timeout
2018-05-11 15:54:24 -07:00
Evans Hauser
d08f862063
apollo-server-express: add bodyParserConfig option to the listen method to configure bodyParser 2018-05-11 15:54:23 -07:00
Evans Hauser
e77a704f89
apollo-server: remove constructor modification and move extra options to listen call 2018-05-11 15:54:23 -07:00
Evans Hauser
1a34a0ac6e
apollo-server: move registerServer call outside of disableHealthCheck conditional 2018-05-11 15:54:23 -07:00
Evans Hauser
56955dc97a
apollo-server-core: remove extra Object assign, found by @justinanastos 🎉 2018-05-11 15:54:23 -07:00
Evans Hauser
012f37aed5
engine -> engineProxy in listen, fix engineLauncherOptions, and unrequired parameters optional (#1051)
engine -> engineProxy in listen, fix engineLauncherOptions, and make unrequired parameters optional
2018-05-11 15:54:22 -07:00
Evans Hauser
b9858df437
apollo-server-core: clarify context creation can be async in changelog 2018-05-11 15:54:22 -07:00
Evans Hauser
9099948e5c
apollo-server-core: run http options allows query to be an array 2018-05-11 15:54:22 -07:00
Evans Hauser
acae63cd4b
apollo-server-core: remove Promise wrapping in async function return values 2018-05-11 15:54:21 -07:00
Evans Hauser
8fe51be3ef
apollo-server-core: add warning to options creation failure if debugDefault enabled 2018-05-11 15:54:21 -07:00
Evans Hauser
ccb6eea934
apollo-server-core: enrichError not exported and moved formatter check to out of map 2018-05-11 15:54:21 -07:00
Evans Hauser
2781cc8831
apollo-server-core: remove unsued async from BaseServer's request function 2018-05-11 15:54:21 -07:00
Evans Hauser
e58db229df
changelogs: added to root and apollo-server-core 2018-05-11 15:54:20 -07:00
Evans Hauser
1f3103b5c7
apollo-server-core: use getOwnPropertyNames to stay es5 2018-05-11 15:53:19 -07:00
Evans Hauser
26c09e1b1b
apollo-server-koa: add node types to koa 2018-05-11 15:53:18 -07:00
Evans Hauser
c83efaca7c
apollo-server-integration-testsuite: fix tests for apollo-server 2 2018-05-11 15:53:18 -07:00
Evans Hauser
7dee30095e
apollo-server-express: fix tests to include error code 2018-05-11 15:53:18 -07:00
Evans Hauser
c4e3766475
apollo-server-core: add check for null property in ApolloError 2018-05-11 15:53:18 -07:00
Evans Hauser
0fe53a68da
apollo-server-core: capture context creation failure in GraphQL error 2018-05-11 15:53:18 -07:00
Evans Hauser
5aeb36f3d7
apollo-server-core: allow creation of context to be asynchronous 2018-05-11 15:53:17 -07:00
Evans Hauser
75e661e9b2
apollo-server-core: stronger typing on context in GraphQLServerOptions as a function 2018-05-11 15:53:17 -07:00
Evans Hauser
e0332bb164
apollo-server-core: added formatApolloError arguments to subscription callback 2018-05-11 15:53:17 -07:00
Evans Hauser
a7772a01fb
apollo-server-core: wrap error thrown by context construction in apollo error to add code 2018-05-11 15:53:17 -07:00
Evans Hauser
4645f200f2
apollo-server-core: apolloError places properties in root, so they are found in originalError 2018-05-11 15:53:17 -07:00
Evans Hauser
2a510039ec
apollo-server-core: internalFormatError to formatApolloError 2018-05-11 15:53:16 -07:00
Evans Hauser
f6eece6294
apollo-server-core: move logging into separate file 2018-05-11 15:53:16 -07:00
James Baxley
aaac1c8ff8
initial full beta 2018-05-11 15:53:16 -07:00
James Baxley
16e8b1763a
fix header setting and error message for introspection 2018-05-11 15:53:16 -07:00
Evans Hauser
6239aa9562
apollo-server-core: remove merge artifact from changelog 2018-05-11 15:53:16 -07:00
Evans Hauser
cdf4c6860d
apollo-server-core: fix error printing and logging tests 2018-05-11 15:53:15 -07:00
Evans Hauser
8fdbfcd8c8
apollo-server-core: remove unused function printStackTrace 2018-05-11 15:53:15 -07:00
Evans Hauser
52b6f761f6
apollo-server-core: Add changelog 2018-05-11 15:53:15 -07:00
Evans Hauser
6b2e600a97
apollo-server-core: remove stack traces print and include response in logging function 2018-05-11 15:53:15 -07:00
Evans Hauser
1e78646440
apollo-server-core: add changelog with mock 2018-05-11 15:53:15 -07:00
Evans Hauser
ce7d72caab
apollo-server-core: add mocks 2018-05-11 15:53:15 -07:00
James Baxley
a55336598c
cloudflare 2018-05-11 15:53:14 -07:00
James Baxley
68dec79529
clean up and move pieces around 2018-05-11 15:53:14 -07:00
Evans Hauser
5eb23d82c0
apollo-server: collocation of graphql gui added to CHANGELOG 2018-05-11 15:53:14 -07:00
Evans Hauser
7b25a90a7e
apollo-server: add message, location, and path to formatError 2018-05-11 15:53:14 -07:00
Evans Hauser
720df5294a
apollo-server: export errors from variants 2018-05-11 15:53:13 -07:00
Evans Hauser
a0191cc998
apollo-server: factor out gui checking code 2018-05-11 15:53:13 -07:00
Evans Hauser
086ac9f9b0
apollo-server: use node's url module for path creation 2018-05-11 15:53:13 -07:00
Evans Hauser
21b68a849d
apollo-server: comment how graphqlPath uses /graphql as default 2018-05-11 15:53:13 -07:00
Evans Hauser
80f96fc862
apollo-server: cleared up comment on default application of middleware 2018-05-11 15:53:13 -07:00
Evans Hauser
0a770964be
graphiql > gui and make content-type check only if necessary 2018-05-11 15:53:12 -07:00
Evans Hauser
68a368b775
shared graphql ide and execution for koa 2018-05-11 15:53:12 -07:00