You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Failed to parse this valid graphql type [[String!]]!
Type definitions
Query {
test(fields: [[String!]]!): String!
}
To Reproduce
Steps to reproduce the behavior:
Run a server with the given typedef
Expected behavior
Server should start
Screenshots
11 | * Produces a GraphQLError representing a syntax error, containing useful
12 | * descriptive information about the syntax error's position in the source.
13 | */
14 | function syntaxError(source, position, description) {
15 | return new _GraphQLError.GraphQLError(`Syntax Error: ${description}`, {
16 | source,
^
GraphQLError: TypeError[Query.getPayFormFields]: TypeError[Query.getPayFormFields.fields]: Syntax Error: Unexpected character: "<".
path: "undefined"
at syntaxError (/home/mathix/projects/peach_api/node_modules/graphql/error/syntaxError.js:16:4)
at readNextToken (/home/mathix/projects/peach_api/node_modules/graphql/language/lexer.js:430:9)
at lookahead (/home/mathix/projects/peach_api/node_modules/graphql/language/lexer.js:392:16)
at advance (/home/mathix/projects/peach_api/node_modules/graphql/language/lexer.js:336:12)
at advanceLexer (/home/mathix/projects/peach_api/node_modules/graphql/language/parser.js:1538:13)
at expectToken (/home/mathix/projects/peach_api/node_modules/graphql/language/parser.js:1393:13)
at parseName (/home/mathix/projects/peach_api/node_modules/graphql/language/parser.js:255:3)
at parseNamedType (/home/mathix/projects/peach_api/node_modules/graphql/language/parser.js:1455:3)
at parseTypeReference (/home/mathix/projects/peach_api/node_modules/graphql/language/parser.js:1416:12)
at parseTypeReference (/home/mathix/projects/peach_api/node_modules/graphql/language/parser.js:1394:14)
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
We've been able to confirm this bug using the steps to reproduce that you provided - many thanks @mathix420! 🙏 We will now prioritise the bug and address it appropriately.
Describe the bug
Failed to parse this valid graphql type
[[String!]]!
Type definitions
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Server should start
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
Additional context
Ran using
bun run myserver.ts
.The text was updated successfully, but these errors were encountered: