haskell-graphql / graphql-api

Write type-safe GraphQL services in Haskell
BSD 3-Clause "New" or "Revised" License
406 stars 35 forks source link

Parsing documents with comments #223

Open fredefox opened 5 years ago

fredefox commented 5 years ago

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

"""
A comment
"""
query T {
}
belka-ew commented 4 years ago

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