Open xxlv opened 3 weeks ago
https://github.com/graphql-go/graphql/blob/f2b39caf7c92cab3f3f92726b55f59c74f54cfbc/language/lexer/lexer.go#L132
Should i need update to makeToken(NAME, position, endByte, string(body[position:endByte]))?
makeToken(NAME, position, endByte, string(body[position:endByte]))
When i use
{ f(#ok a:1)}
Its fine
But change to
{ f(#世界 a:1)}
Got error.
I had the same error, created a bug fix for this https://github.com/graphql-go/graphql/pull/702 . pull request is waiting for approval but there are no maintainers active
https://github.com/graphql-go/graphql/blob/f2b39caf7c92cab3f3f92726b55f59c74f54cfbc/language/lexer/lexer.go#L132
Should i need update to
makeToken(NAME, position, endByte, string(body[position:endByte]))
?When i use
Its fine
But change to
Got error.