Top "Express-graphql" questions

GraphQL HTTP Server Middleware

GraphQL: Query.type field type must be Output Type but got: undefined

I'm trying my first GraphQL approach. Here is the code: schema.js: import { GraphQLSchema, GraphQLObjectType, GraphQLInputObjectType, GraphQLNonNull, GraphQLString, GraphQLBoolean, GraphQLInt, …

javascript node.js graphql express-graphql
How to remove the `__typename` field from the graphql response which fails the mutations

I tried changing the addTypeName: false in the Apollo client in GraphQL apollo.create({ link: httpLinkWithErrorHandling, cache: new InMemoryCache({ addTypename: …

node.js graphql apollo apollo-client express-graphql
GraphQL: Non-nullable array/list

I'm learning GraphQL now and while walking through tutorial I met behavior that I can't understand. Let's say we have …

javascript graphql graphql-js apollo express-graphql
Unexpected <EOF> while using graphql

Getting EOF error every time at same line, changed code many times and even degraded to previous versions of graphql …

graphql-js express-graphql
graphqlHTTP is not a function

Here is my simple graphql express app const express = require('express'); const graphqlHTTP = require('express-graphql'); const app = express(); app.use( …

javascript node.js express graphql express-graphql
Making a graphQL mutation from my python code, getting error

I am trying to make a mutation to my Shopify store from python. I am new to graphQL, I have …

python python-requests graphql parse-error express-graphql
How to implement isTypeOf method?

Given this schema: interface INode { id: ID } type Todo implements INode { id: ID title: String! } type Query { node(id: ID!): …

node.js typescript express graphql express-graphql
Intercept Apollo/graphql requests

we are using Apollo/Graphql in our application, and we are facing an issue. The application is developed in Angular 5, …

angular error-handling apollo apollo-client express-graphql
Where the data is Storing in Graphql

I started to use graphQl with react relay. And I followed some tutorials and I can able to get and …

graphql relay relaymodern express-graphql github-graphql