-
Notifications
You must be signed in to change notification settings - Fork 45
Comment Highlighting Broken #87
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
Comments
Just talked to @marktani from Graph Cool and he confirmed that it is valid GraphQL and pointed me at this issue: So the highlighter needs to be fixed |
Thanks for the report. Will push a fix over the weekend |
:D Thank you so much |
@wesbos I don't see github highlighting it fine: I have fixed the issue, though I'm not really happy with the regexp. In the linked issue, it's a little unclear whether the triple-quotes just after a parenthesis is a desired behaviour or not. |
thank you! I didn't realize github goodfed it up too, but it doesn't make the rest of the content a comment like this issue did. |
Thinks @wesbos for the report and @kumarharsh for the fix |
Hrmm this still seems to be broken with the following code:
|
Thanks. I'm aware of this issue. Will push a fix for it soon. |
I'm using Prisma and they generate the schema for us. One of the peices they generate has a comment like this:
That last comment is a bit weird and seems to be breaking highlighting.
Is this a valid graphql comment? GitHub seems to highlight it just fine, but this extension highlights it like this:
This very well may be an issue with Prisma too, will open an issue over there.
The text was updated successfully, but these errors were encountered: