-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
Validate Command doesn't show in which file we are querying the deprecated field #2684
Comments
Hey @MeetM15, I guess you find a solution? the path is wrong, have a redundant |
Hey ! Haven't found a solution yet , by path do you mean this |
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
Describe the bug
We are working on a nuxtjs project where we are using @graphql-codegen/cli to generate our schema and we are trying to use graphql-inspector for validating our documents so we can know if we are querying for any deprecated fields. But the issue we are facing is that the
graphql-inspector validate
Command detects the deprecated fields but doesn't show in which document we are querying the deprecated field. We have also added this in our CI/CD pipeline which is having the same result. Please provide a solution for this , thanks.Command line screenshot of actual result:
To Reproduce Steps to reproduce the behavior:
Install these packages:
Run this script in command line
Expected behavior
It should list all the documents which has the deprecated fields in the query under Warning, This feature is already shown in the documentation , here is the screenshot of documentation for reference:
Environment:
graphql
:"^16.8.1"The text was updated successfully, but these errors were encountered: