graphql-for-vscode icon indicating copy to clipboard operation
graphql-for-vscode copied to clipboard

Issues when schema.gql has """ formatted comments

Open DogsForArms opened this issue 6 years ago • 2 comments

Hello. My graphql schema has triple-quote descriptions, such as """Description goes here""". Seems like I'm not getting autocomplete when that is the case. If I go to the schema.gql file and replace all """ with #, there is no longer an issue and my autocomplete works as expected (within gql tags).

DogsForArms avatar Apr 04 '19 19:04 DogsForArms

Descriptions don't seem to be supported at all:

image

borekb avatar Jun 27 '19 18:06 borekb

That's because of the @playlyfe/gql not supporting the graphql definition for comments/descriptions.

You want to follow this issue that has been opened over a year ago now: https://github.com/Mayank1791989/gql/issues/143

I've ended up installing https://marketplace.visualstudio.com/items?itemName=Prisma.vscode-graphql

Maxwell2022 avatar Oct 14 '19 07:10 Maxwell2022