graphql-api icon indicating copy to clipboard operation
graphql-api copied to clipboard

Parsing documents with comments

Open fredefox opened this issue 6 years ago • 1 comments

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

"""
A comment
"""
query T {
}

fredefox avatar Aug 09 '19 08:08 fredefox

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

belka-ew avatar Jan 06 '20 10:01 belka-ew