apollo-server
apollo-server copied to clipboard
🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.
In the documentation (https://www.apollographql.com/docs/apollo-server/data/errors/), if I need additional properties, it suggests using `didEncounterErrors` lifecycle hook to add additional properties. > consider using the didEncounterErrors lifecycle hook to attach additional properties...
**Package Versions:** [email protected] [email protected] [email protected] **Expected Behavior:** Defining the custom formatError function should not trigger unexpected or unusual side-effects outside itself and it should be called with the original error...
Hi, im trying to setup caching system in apollo server express version 3. Im following step in documentation https://www.apollographql.com/docs/apollo-server/performance/caching/#caching-with-responsecacheplugin-advanced but i got error like this ``` (node:2749) UnhandledPromiseRejectionWarning: TypeError: responseCachePlugin...
This PR aims to add support for the `application/graphql+json` content-type, this has been added to [the spec](https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#content-types) here we see that we can support both `application/json` and `application/graphql+json`. The main...
This `else` path in treeBuilder.ts: ``` const specificNode = this.nodes.get(path.join('.')); if (specificNode) { node = specificNode; } else { this.logger.warn( `Could not find node with path ${path.join( '.', )}; defaulting...
When using `apollo-server-lambda`, it can be confusing to understand what event payload should be used when testing your application locally. Most users getting started with AWS Lambda will be using...
## request Hello! I have been messing around with `SchemaDirectiveVisitor` and I noticed that it allows the location to be set to `"FIELD"` but it does not support implementing field...
Our docs aren't clear about what the default behavior for cors is. Specifically, the default behavior for some integrations such as the most popular `apollo-server` and `apollo-server-express` is to install...
See the individual issues at https://github.com/apollographql/apollo-server/labels/integration-collaborators
`apollo-server` doesn't seem to like when Node's `http2` module is used. When an HTTP2 client (i.e. the browser) makes a request, this error happens: ``` TypeError: :method is not a...