-
Created new fresh project followed steps from provided documentation and I set graphiql:true and hit localhost:3001/graphql from browser so it's just showing following error instead graphqlUI. {"errors":[{"message":"Missing query"}]} `const express = require('express'); const { GraphQLSchema, GraphQLObjectType, GraphQLString } = require('graphql'); const schema = new GraphQLSchema({ app.get('/', (req, res) => { // Create a express instance serving all methods on app.listen(port, () => { |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This library implements only the GraphQL over HTTP spec, please see the disclaimer in the readme. Also see #38. |
Beta Was this translation helpful? Give feedback.
This library implements only the GraphQL over HTTP spec, please see the disclaimer in the readme.
Also see #38.