Skip to content

Parsing documents with comments #223

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

Open
fredefox opened this issue Aug 9, 2019 · 1 comment
Open

Parsing documents with comments #223

fredefox opened this issue Aug 9, 2019 · 1 comment

Comments

@fredefox
Copy link

fredefox commented Aug 9, 2019

It's currently not possible to parse documents that contain comments, as in e.g.:

"""
A comment
"""
query T {
}
@belka-ew
Copy link

belka-ew commented Jan 6, 2020

It is not a valid GraphQL document. Comments start with #. """ is a description and is valid only for the Schema Definition Language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants