Open noep opened 4 years ago
It could be that we should add support for this via a an option that you could set within your configuration of your schema.
KGraphql.schema {
configure {
// Enabling this would change to a more flexible parser.
fullUnicodeNamesSupport = true
}
}
The previous parser had some small issues here and there, so I decided to redo the whole parser implementation and choose to just port over the JavaScript one. As it's written by Facebook and should have been very well tested.
In the spec - 2.1.9 - Names it says it should only support ASCII. But I'm fully open for having support for a configuration to support more if you enable it.
Some specific cases. I use not only alphabetical characters but also Koreans. but lexers don't parse any letters without alphabetical characters.
let me show some codes, l make some schema with korean characters.
and I make some http request to use graqhQL request
and Errors response
It seems like lexers don't parse any letters without alphabetical characters.
com.apurebase.kgraphql.request.Lexer
line 129
andline 130
And
line 216
andline 217
it is easy to support just only korean characters with add some branch codes. but will occur 2 problems