Top "Apollo-server" questions

Apollo Server is a GraphQL server for Express, Connect, Hapi and Koa, written in TypeScript

Apollo GraphQL Server + TypeScript

I've been working on a project lately, which has node.js + express + typescript + Apollo server stack. And while researching on …

typescript graphql nodes apollo apollo-server
Log apollo-server GraphQL query and variables per request

When using apollo-server 2.2.1 or later, how can one log, for each request, the query and the variables? This seems like …

apollo-server
useQuery returns undefined, But returns data on gql playground

"@apollo/react-hooks": "^3.1.3", "apollo-client": "^2.6.8", Apollo client return undefined on react app but return the data on gql playground, I don't understand …

node.js reactjs graphql react-apollo apollo-server
Apollo GraphQL: Multiple Queries in One Component?

I have a component that needs to query two entirely separate tables. What do the schema, query and resolver need …

graphql apollo apollo-server
MongoError: Topology is closed, please connect

I'm a front-end dev trying to expand my horizons on a new Next project, learning Node, Mongo, and the server …

node.js mongodb mongoose async-await apollo-server
apollo-server-express CORS issue

So I am migrating to apollo-server-express 2.3.3 ( I was using 1.3.6 ) I've followed several guides, making the necessary tweaks but am stuck …

node.js express graphql apollo-server
How to implement auto refresh token in graphql for jwt based authentication?

I am trying to figure out this scenario for my JWT based authentication in Apollo based graphql server (2.0) . Basically after …

node.js jwt graphql apollo-client apollo-server
How to create generics with the schema language?

Using facebook's reference library, I found a way to hack generic types like this: type PagedResource<Query, Item> = (…

graphql graphql-js apollo-server
How to use or resolve enum types with graphql-tools?

I cannot find anywhere in the graphql-tools documentation how one should go about utilizing enum types in schemas that are …

graphql apollo-server
Is there a way to get rid of [Object: null prototype] in GraphQL

I'm trying to make one-to-many relationship database with Mongoose and GraphQL. Whenever I insert the data to GraphQL mutation argument, …

javascript node.js mongoose graphql apollo-server