dotansimha / dotansimha/graphql-code-generator

Skip specific fields by directive name

Open
#8,332 7 comments 2 reactions 0 assignees View on GitHub
core
Dominant language
TypeScript
Stars
11.3k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
23

Description

Hi!

**Use case**
I want to generate GraphQL SDK for Gitlab API. I don't want @deprecated fields to be even generated

**Proposed solution**
We may introduce a new parameter `skipDirectives: @deprecated` which which will skip specific fields.

What do you think of this?

Thank you!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.