python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
GraphQL schema formats
I'm learning graphQl and I saw that there are multiple formats to write schemas.
There is the "JavaScript" format:
const rootQuery = new GraphQLObjectType({
name:"root",
de...
shamgar
Votes: 0
Answers: 1
GraphQL HTTP: "Cannot return null for non-nullable field Mutation.register."
I am trying to mutate in GraphQL to create a new user but I get the error of
Cannot return null for non-nullable field Mutation.register.
Screenshot of operation, variable and response here.
graphql...
giovanni
Votes: 0
Answers: 0
Can't get CORS working with Restify + GraphQL setup
I've set up a GraphQL server using express-graphql and Restify, which works perfectly on Postman. However, when actually calling it from our frontend we keep getting CORS issues. I've tried just about...
Jul
Votes: 0
Answers: 1
GraphQL - Query Seems Fine but Getting 400 Error
So, whenever I try to add a product to the inventory list, via a mutation, I get a POST http://localhost:3000/graphql 400 (Bad Request). I can perform the mutation in the sandbox without issue. And, t...
MatthewS
Votes: 0
Answers: 1