ardatan / ardatan/graphql-tools

feature request for Transform: RemoveObjectFieldsWithoutDirective

Open
#6,170 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.4k
Forks
830
Avg merge
10h 59m
Merged PRs (30d)
45

Description

**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.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing RemoveObjectFieldsWithDirective transform and its tests in the graphql-tools repository. Follow that transform's entry point and test structure; done means the complementary transform is available and its behavior is covered for schemas where only selected directive-marked fields remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.