graphql-tools icon indicating copy to clipboard operation
graphql-tools copied to clipboard

feature request for Transform: RemoveObjectFieldsWithoutDirective

Open cnwangjie opened this issue 9 months ago • 1 comments

Is your feature request related to a problem? Please describe.

I want to slitch my graphql schema to some different subset. And I found there is a transform that named RemoveObjectFieldsWithDirective. I think that's what I need. But in my case, I want to pick only a few schema in it.

Describe the solution you'd like

There are already RemoveObjectFieldsWithDirective. We just need to implement RemoveObjectFieldsWithoutDirective.

cnwangjie avatar May 11 '24 07:05 cnwangjie

PRs are welcome!

ardatan avatar May 11 '24 11:05 ardatan