graphql-go / graphql-go/graphql

Parse error - Syntax Error GraphQL (12569:27) Unexpected Name "null"

Open
#611 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
10.1k
Forks
845
PR merge metrics
No merged PRs in 30d

Description

I faced this error during the benchmark of GraphQL parsers in the wild.

Schema: https://github.com/StarpTech/graphql-parser-bench/blob/main/schema.graphql
Code: https://github.com/StarpTech/graphql-parser-bench/tree/main/go-graphql

```
❯ go run main.go
2021/08/14 19:58:09 Syntax Error GraphQL (12569:27) Unexpected Name "null"

12568: """
12569: packageName: String = null
^
12570: """
exit status 1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.