graphdoc icon indicating copy to clipboard operation
graphdoc copied to clipboard

Support String literal descriptions

Open landau opened this issue 6 years ago • 0 comments

Good day. Thanks for your work on this project. It's incredibly useful.

As per https://github.com/graphql/graphql-js/blob/master/src/utilities/extendSchema.js#L47, descriptions defined within an IDL (SDL) are defined as String Literals. I'm currently seeing the following error.

 ✗ Syntax Error GraphQL (5:1) Unexpected String "My description"

4:
5: "My description"
   ^
6: type QueryRoot {

Thanks for your time.

landau avatar Apr 24 '18 10:04 landau