-
-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Description
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
- 1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox
Make sure to fork this template and run
pnpm generatein the terminal.Please make sure the Codegen and plugins version under
package.jsonmatches 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
jonnetouch
Metadata
Metadata
Assignees
Labels
No labels