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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds support for removing a field on a particular type #964
Conversation
// extensionASTNodes: type.extensionASTNodes, | ||
// interfaces: type.getInterfaces(), | ||
// isTypeOf: type.isTypeOf, | ||
fields: newFields |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied the general implementation from TransformRootFields
but it didn't include any of the commented options in the type, should I add them here or remove my comments?
f939ca0
to
50b4b6b
Compare
Fixes #819 |
Any reason for not merging this ? |
I also would love to see this merged. Is there a timeline planned for releasing it? |
looks complete, can we have it merged? Also is there a workaround or external package to use? i tried to copy the change into my application, but it uses some internals that are not exposed by graphql-tools. |
@macrozone, available in https://www.npmjs.com/package/graphql-tools-fork |
Closing as fork includes this fix, so will be merged in with #1307. |
TODO:
馃憢 - I couldn't find a way to remove a field from a type using the existing transformers, so I added one!
Is there a better way to do this?