You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox
Make sure to fork this template and run pnpm generate in the terminal.
Please make sure the Codegen and plugins version under package.json matches yours.
2. A failing test has been provided
3. A local solution has been provided
4. A pull request is pending review
Describe the bug
I use the validate function in the code to find out if a client is using a deprecated field.
I have now noticed that the validate function throws an error if there is a triple dot in a string within the mutation. "..."
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
Describe the bug
I use the validate function in the code to find out if a client is using a deprecated field.
I have now noticed that the validate function throws an error if there is a triple dot in a string within the mutation. "..."
For example, the following mutation fails:
I get the following error message:
The problem occurs at the following point:
https://github.com/kamilkisiela/graphql-inspector/blob/master/packages/core/src/validate/index.ts#L120
To Reproduce Steps to reproduce the behavior:
Expected behavior
A triple dot within a string must not be recognized as a fragment. The validation may not fail.
Environment:
@graphql-inspector/core
: 5.0.2The text was updated successfully, but these errors were encountered: