ardatan/graphql-import

Fix comment in generated schema

Closed this issue · 1 comments

I have a little bug about the syntax in Visual Studio Code, because one comment isn't generated to the new line:

https://github.com/graphcool/graphql-import/blob/4458d2955d9319ca2527b1a770438104a5f3c092/fixtures/complex/b.graphql#L9152-L9156

This is the actual render in VSC:
capture d ecran 2018-03-08 a 17 29 40

It seems that the """ comment tag must start in a new line to avoid the IDE to misunderstand the color syntax (see the minimap on the right)

It must be like this:
capture d ecran 2018-03-08 a 17 29 34

Thanks 😀

(PS: maybe also about the VSC plugin to graphQL syntax because I don't have it for Atom)