-
Notifications
You must be signed in to change notification settings - Fork 106
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
Ignore types coming from super graph #1904
Comments
you can use |
No this did not work for me, what is the syntax to use in Graph ql schema files? I am trying as below, please advise.
|
Same as in eslint : |
No this did not work and I believe it is because the graph ql schema is trying to find the parent schema to prepare the consolidated schema. Is there a workaround for this?
|
@B2o5T, any work around for this? |
We use super graph and some types and inputs may not be available in the current Graph QL schema that we are validating however we will be extending from type defined in super graph as shown in example below, in such a case how can I avoid below two errors? I want to still apply other rules around naming convention, field descriptions etc on the types defined in sub graph. Please advise.
Example:
Super graph
Sub Graph
Errors:
Unknown type "Product". Did you mean "Product"?
Cannot extend type "Product" because it is not defined.
The text was updated successfully, but these errors were encountered: