Skip to content
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

Update extraction regex to recognize #graphql annotated strings in js #47

Merged

Conversation

jgzuke
Copy link
Contributor

@jgzuke jgzuke commented Nov 12, 2021

Follow up to #15. This updates the extraction regex to accept either the template tag, or the #graphql annotation inside. This matches the highlighting recognizer in https://github.com/apollographql/vscode-graphql/blob/main/syntaxes/graphql.js.json

Screen Shot 2021-11-12 at 12 51 59 AM

@jgzuke jgzuke requested a review from cy November 12, 2021 08:56
@jgzuke jgzuke force-pushed the jgzuke/misc/fix-graphql-annotated-strings-not-validated branch from d04e2c5 to 0bbe2c0 Compare November 12, 2021 08:59
@jgzuke jgzuke merged commit d64e3e8 into main Nov 12, 2021
@jgzuke jgzuke deleted the jgzuke/misc/fix-graphql-annotated-strings-not-validated branch November 12, 2021 18:18
@github-actions github-actions bot mentioned this pull request Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants