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
have a schema file e.g. schema.graphql
have and operation file operation.graphql
deprecate a field in schema and add it to a query in operation.graphql
make sure that there are no errors in operation.graphql
run graphql-inspector validate "operation.graphql" "schema.graphql"
receive following output:
success All documents are valid
info
Detected 1 document with deprecated fields:
To Reproduce Steps to reproduce the behavior:
Expected behavior
expected output:
success All documents are valid
info
Detected 1 document with deprecated fields:
warn
in /Users/hermanbelous/Projects/vezha-public-frontend/o.graphql:
- The field Post.field is deprecated. No longer supported
Environment:
OS: Osx
@graphql-inspector/5.0.8:
graphql:
NodeJS: 22
Additional context
The text was updated successfully, but these errors were encountered:
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
Describe the bug
schema.graphql
operation.graphql
operation.graphql
operation.graphql
graphql-inspector validate "operation.graphql" "schema.graphql"
To Reproduce Steps to reproduce the behavior:
Expected behavior
expected output:
Environment:
@graphql-inspector/5.0.8
:graphql
:Additional context
The text was updated successfully, but these errors were encountered: