apollo-server/packages/apollo-server-core/src
David Glasser 5c65742a39
Factor out runQuery's use of logFunction into an extension (#1128)
This requires a slightly newer graphql-extensions beta which has more arguments
to requestDidStart.

Also make it ok to not pass logFunction to formatApolloErrors, and make sure
custom fieldResolvers continue to work with extensions (by upgrading the
dependency and fixing a logic bug).

The custom fieldResolvers fix means that we now unconditionally put the
extension stack on the GraphQL context, which means that the context can no
longer be (say) a string.  I changed a test that expected string contexts to
work. You couldn't use a string for a context when using extensions before, so
this isn't that big of a change.
2018-06-01 21:16:25 -07:00
..
ApolloServer.test.ts Turn on noUnusedLocals and noUnusedParameters (#1126) 2018-06-01 15:16:16 -07:00
ApolloServer.ts Turn on noUnusedLocals and noUnusedParameters (#1126) 2018-06-01 15:16:16 -07:00
errors.test.ts Turn on noUnusedLocals and noUnusedParameters (#1126) 2018-06-01 15:16:16 -07:00
errors.ts Factor out runQuery's use of logFunction into an extension (#1128) 2018-06-01 21:16:25 -07:00
graphqlOptions.ts Update for graphql-extensions@0.1.0 API 2018-05-31 00:14:59 -07:00
index.ts runQuery accepts Request object that variants create (#1108) 2018-05-29 21:37:38 -07:00
logging.ts Factor out runQuery's use of logFunction into an extension (#1128) 2018-06-01 21:16:25 -07:00
nodeHttpToRequest.ts basic apollo-engine-reporting integration 2018-06-01 12:34:49 -07:00
runHttpQuery.test.ts Turn on noUnusedLocals and noUnusedParameters (#1126) 2018-06-01 15:16:16 -07:00
runHttpQuery.ts Turn on noUnusedLocals and noUnusedParameters (#1126) 2018-06-01 15:16:16 -07:00
runQuery.test.ts Factor out runQuery's use of logFunction into an extension (#1128) 2018-06-01 21:16:25 -07:00
runQuery.ts Factor out runQuery's use of logFunction into an extension (#1128) 2018-06-01 21:16:25 -07:00
types.ts Turn on noUnusedLocals and noUnusedParameters (#1126) 2018-06-01 15:16:16 -07:00