Likely bug in extractGraphQLDocumentsFromJSTemplateLiterals #1050
Labels
🐞 bug
🤖 component - codegen
related to the codegen core packages
🥇 good-first-issue
Issues that are suitable for first-time contributors.
See:
apollo-tooling/packages/apollo-language-server/src/document.ts
Line 88 in c4ccd53
There's probably an issue with the magical +4 here, it seems to be assuming the length of gql`, but we support custom tagNames in the function.
A simple breaking test + fix would be a very simple approach to demonstrating this bug and resolving.
Thanks @glasser for reporting!
The text was updated successfully, but these errors were encountered: