-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Printer fails with string blocks #453
Comments
According to https://spec.graphql.org/June2018/#sec-String-Value
is not allowed, for multiline strings, block strings (with triple quotes) are required. Does this still fail for proper block strings? |
About the documentation thx a lot, now are integrated all the escaped characters in ae3d44c #454 I will show you with an example
causing a problem when encoding the query with the gql_link RequestSerializer
|
Is is possible also that the Token is not computing the strings correctly? gql/gql/lib/src/language/lexer.dart Line 53 in 2dad214
|
If you point me to any nontrivial piece of code and ask me "is it possible that there is a bug" I'll always say yes ;) Do you have any specific lead to a potential issue? |
Yes, that's true; There is an issue. |
When a String is on format
The query execution should valid due to "Invalid character on string literal" error appear, for fixing it the function visitStringValueNode should return the string in the right format like:
The text was updated successfully, but these errors were encountered: