graphql-kit / graphql-faker

🎲 Mock or extend your GraphQL API with faked data. No coding required.
MIT License
2.69k stars 225 forks source link

Multiline schema descriptions break syntax highlighting #129

Open Stowe4077 opened 3 years ago

Stowe4077 commented 3 years ago

While https://github.com/APIs-guru/graphql-faker/issues/41 seemed to fix inline descriptions, the syntax highlighting does not appear to work when multi-line descriptions are in use.
In this example, the type description, the attribute name are flagged red, and contextual help/auto complete does not function:

Screen Shot 2020-09-15 at 4 21 45 PM

Compared to the same with # style comments or single line """ descriptions where just the description text is red (but contextual help/auto complete does work):

Screen Shot 2020-09-15 at 4 26 15 PM