apollo-server/packages/apollo-server-express/src
Evans Hauser e0f7052fb1
Errors Lifecycle: user extensions > engine reporting > formatError (#1272)
* enable willSendResponse to return a modified response

* add formatError as an extension that wraps engine reporting

* ensure that formatError once on every error path

* move old formatError express tests into integration suite

* add error lifecycle with minimal engine reporting check

* increase granularity of formatError test

* return 400 error for GraphQL error created by context

* add check for internal server error for errors thrown in context

* comment about context error status code
2018-06-29 10:36:52 -07:00
..
ApolloServer.test.ts test cache-control set to false after bug from #1217 2018-06-22 12:16:04 -07:00
ApolloServer.ts Centralize playgroundVersion in ApolloServerBase and remove pass-through of gui options 2018-06-29 13:57:03 +02:00
apolloServerHttp.test.ts Errors Lifecycle: user extensions > engine reporting > formatError (#1272) 2018-06-29 10:36:52 -07:00
connectApollo.test.ts Typescript Improvements and esModuleInterop fix (#1210) 2018-06-20 16:21:50 -07:00
connectApollo.ts Remove graphiql support 2018-06-13 14:00:51 -07:00
datasource.test.ts CDN cache-control headers (#1138) 2018-06-21 13:29:14 -07:00
expressApollo.test.ts Typescript Improvements and esModuleInterop fix (#1210) 2018-06-20 16:21:50 -07:00
expressApollo.ts CDN cache-control headers (#1138) 2018-06-21 13:29:14 -07:00
index.ts Fix graphql-tools/subscriptions dependencies and exports (#1257) 2018-06-27 12:09:38 -07:00