Commit graph

1376 commits

Author SHA1 Message Date
Evans Hauser
6ab3a62f37
apollo-server-core: add changelog for error prototyping fixes 2018-05-20 05:43:46 -07:00
Evans Hauser
c5687aea66
apollo-server-core: await server stop and restore node env in test 2018-05-20 03:54:10 -07:00
Evans Hauser
aad7c39001
build: update dependencies and remove extra node typings 2018-05-20 03:52:54 -07:00
Evans Hauser
373522114f
apollo-server-core: add tests for ApolloServerBase basic functionality 2018-05-20 02:32:09 -07:00
Evans Hauser
a3daf7d551
apollo-server-core: keep referrence to subscriptions server and clean it up on stop 2018-05-20 02:18:32 -07:00
Evans Hauser
858216c97a
apollo-server-core: move environment checking into the constructor to enable testing 2018-05-20 02:12:43 -07:00
Evans Hauser
1ffac8b767
apollo-server-core: add instanceof error tests thanks to @JustinDSN 2018-05-20 02:10:07 -07:00
Evans Hauser
3c71f34cee
apollo-server-core: set error prototypes explicitly 2018-05-20 02:07:46 -07:00
Evans Hauser
8fd2c12b8f
apollo-server-core: add test for errors 2018-05-16 16:03:09 -07:00
Evans Hauser
226770819d
apollo-server-core: check for options as optional 2018-05-16 15:57:51 -07:00
Evans Hauser
8e1f3545c4
apollo-server-core: type errors returned as ApolloErrors and add ability to reference arbitrary fields 2018-05-16 14:46:33 -07:00
Evans Hauser
973b096ea3
apollo-server-core: enableIntrospection -> introspection 2018-05-11 17:33:52 -07:00
Evans Hauser
0e4848d5e1
apollo-server: subscriptions options condensed to on option and ensure subscriptions path is set 2018-05-11 17:30:52 -07:00
Evans Hauser
5d279001ca
apollo-server-core: feedback from #979 to improve readability and spelling 2018-05-11 17:00:45 -07:00
Evans Hauser
ee6994b708
apollo-server-hapi: remove subscriptions boolean from register options and check subscriptionsEnabled 2018-05-11 15:54:25 -07:00
Evans Hauser
e10bf1d590
apollo-server-hapi: update README to reflect Apollo-server 2 changes 2018-05-11 15:54:25 -07:00
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
Renovate Bot
70a09df2c8
chore(deps): update dependency @types/sinon to v4.3.3 2018-05-11 15:54:24 -07:00
Renovate Bot
6457b1a3a1
chore(deps): update dependency @types/node to v9.6.15 2018-05-11 15:54:23 -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
Renovate Bot
7b781333f2
chore(deps): update dependency @types/sinon to v4.3.2 2018-05-11 15:54:22 -07:00
Renovate Bot
3fff064387
chore(deps): update dependency @types/node to v9.6.14 2018-05-11 15:54:22 -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
Renovate Bot
98ec318109
chore(deps): update dependency sinon to v5.0.7 2018-05-11 15:54:21 -07:00
Renovate Bot
f6fc411b55
chore(deps): update dependency sinon to v5.0.6 2018-05-11 15:54:21 -07:00
Renovate Bot
5e3b64263f
chore(deps): update dependency sinon to v5.0.5 2018-05-11 15:54:20 -07:00
Renovate Bot
1d6ca41f28
chore(deps): update dependency hexo-server to v0.3.2 2018-05-11 15:54:20 -07:00
Renovate Bot
95d23e7868
chore(deps): update dependency @types/node to v9.6.12 2018-05-11 15:54:20 -07:00
Evans Hauser
e58db229df
changelogs: added to root and apollo-server-core 2018-05-11 15:54:20 -07:00
Renovate Bot
e18e23119f
chore(deps): update dependency @types/node to v9.6.11 2018-05-11 15:54:20 -07:00
Evans Hauser
26c3c07531
build: remove node 4 tests 2018-05-11 15:54:19 -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