Error with GraphiQL
Hi @rivantsov ,
I have the following error with the latest GraphiQL. I am not sure if this is a GraphiQL issue, or there is an incompatible schema within NGraphQL. Logging this ticket just for your attention. Thanks.
{
"errors": [
{
"message": "Syntax Error: Unexpected <EOF>.",
"locations": [
{
"line": 1,
"column": 1
}
],
"extensions": {},
"stack": "GraphQLError: Syntax Error: Unexpected <EOF>.\n at syntaxError (https://unpkg.com/[email protected]/graphiql.min.js:23092:10)\n at Parser.unexpected (https://unpkg.com/[email protected]/graphiql.min.js:29568:41)\n at Parser.parseValueLiteral (https://unpkg.com/[email protected]/graphiql.min.js:28799:20)\n at parseValue (https://unpkg.com/[email protected]/graphiql.min.js:28357:24)\n at buildInputValue (https://unpkg.com/[email protected]/graphiql.min.js:34790:128)\n at keyValMap (https://unpkg.com/[email protected]/graphiql.min.js:26371:27)\n at buildInputValueDefMap (https://unpkg.com/[email protected]/graphiql.min.js:34782:37)\n at buildDirective (https://unpkg.com/[email protected]/graphiql.min.js:34812:13)\n at Array.map (<anonymous>)\n at Object.buildClientSchema (https://unpkg.com/[email protected]/graphiql.min.js:34614:86)"
}
]
}
can you pls add some details - when it happens? what query?
I am using GraphQL.Server.Ui.GraphiQL 8.3.2. Not sure if this is related to this issue: https://github.com/graphql/graphiql/issues/2399
well, maybe - it relates to this grahiql error. But from error call stack, it looks purely js/client side thing
agreed, but it seems the GraphQL spec that expect the escaped string literal for introspection, isn't it?