Summary
Plugins for Apollo Server can be used to modify the context of a request. For example, the requestDidStart event can be used to modify the context of a request before it is processed.
1
Additionally, the willResolveField event can be used to modify the context of a request before a field is resolved.
1
2
According to
See more results on Neeva
Summaries from the best pages on the web
Summary
Apollo Server uses resolvers to populate data for fields in a schema in order to respond to requests for that data. Resolvers are defined in a JavaScript object called the resolver map, which contains top-level fields that correspond to the schema's types. Apollo Server automatically defines a default resolver for each field, and the resolvers can optionally accept four positional arguments.
Resolvers - Apollo GraphQL Docs
apollographql.com
Making errors actionable on the client and server ... if you provide an Apollo API key to Apollo Server. To customize the usage reporting plugin's behavior, ...
Error handling - Apollo GraphQL Docs
apollographql.com