We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If Block String comment contains a double-quote, the resulting printed SDL will be invalid.
Suppose you have the following schema:
""" Representation of a "Foo" """ type Foo { name: String }
if you parse this schema to an AST document, and then print the document to an SDL string (as shown in schema_printer_test.go, then you end up with:
schema_printer_test.go
"""Representation of a "Foo"""" type Foo { name: String }
Notice the extra double-quote 😢
One workaround is to remove the double quotes from the comment.
Even something like this would work fine:
""" Representation of a Foo """ type Foo { name: String }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If Block String comment contains a double-quote, the resulting printed SDL will be invalid.
Example problem
Suppose you have the following schema:
if you parse this schema to an AST document, and then print the document to an SDL string (as shown in
schema_printer_test.go
, then you end up with:Notice the extra double-quote 😢
Example solution
One workaround is to remove the double quotes from the comment.
Even something like this would work fine:
The text was updated successfully, but these errors were encountered: