Skip to content
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

Provide a way to skip generation of certain fields #9

Open
kdichev opened this issue Sep 2, 2020 · 1 comment
Open

Provide a way to skip generation of certain fields #9

kdichev opened this issue Sep 2, 2020 · 1 comment

Comments

@kdichev
Copy link

kdichev commented Sep 2, 2020

The fragment generation step is very useful but my schema is very big and I don't use everything from it so I would like to skip generating some fields. Our cms graphql api is limited to a certain amount of query complexity and the generated queries for me are always too large to query from and manually fixing them is quite the task 💯

The way of setting default values for arguments is super nice way to also maybe do this?

I am happy to make the changes if it's agreed this would be useful :)

@kdichev kdichev changed the title Provide a way to skip generating certain fields Provide a way to skip generation certain fields Sep 2, 2020
@kdichev kdichev changed the title Provide a way to skip generation certain fields Provide a way to skip generation of certain fields Sep 2, 2020
@vladar
Copy link
Contributor

vladar commented Sep 3, 2020

@kdichev Makes perfect sense to me. I was going to add something like this in the future. But I am also open to a PR. So if you're up to this, go ahead and send a PR!

Thanks for the suggestion! 💜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants