-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vscode-graphql-syntax] (v1.2.3) triple double-quote comment syntax broken for TypeScript #3515
Comments
ah yes, it appears to be this: which was introduced to fix inline double quote queries like can you open a PR that adds this failing case to the test suite? I can take a look after work today |
I hope this is what you needed! |
@TiE23 thank you! I will finish fixing this for now, there is another huge PR someone has proposed for the textmate grammars which does not solve this problem, so I will solve this one first! |
|
With v1.2.3 (possibly originating in #3490, though I am not certain) support for triple double-quote comments, which are used to generate doc comments for the schema (whether it's a built-in feature for Prisma or an undocumented feature for graphql-codegen I'm not sure).
Behavior in v1.2.2
Behavior in v1.2.3
It appears that if the
"""
comment is placed inside a curly brace, it works fine. But in the root scope (?), it appears to break.How this is useful to me:
Current work-around is to install v1.2.2
The text was updated successfully, but these errors were encountered: