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

Suggestion of Generator options #140

Closed
codingfunwoody opened this issue Oct 23, 2020 · 2 comments
Closed

Suggestion of Generator options #140

codingfunwoody opened this issue Oct 23, 2020 · 2 comments
Assignees
Labels
feature New feature or request question Further information is requested

Comments

@codingfunwoody
Copy link

Hi, can you add a option excludeFieldsAndQueriesAndMutationsByModel?

i just want to exclude some fields in some queries or mutations. E.g. exclude "id" field in mutations of update, remain "id" field in queries

@AhmedElywa AhmedElywa self-assigned this Oct 28, 2020
@AhmedElywa AhmedElywa added feature New feature or request question Further information is requested labels Oct 28, 2020
@AhmedElywa
Copy link
Collaborator

I didn't get your idea. Can you please add an example of usage?

@codingfunwoody
Copy link
Author

Sorry my unclear question,
My expectation is excluding "id" field in input types of mutation. E.g. create a user should not include "id" field in input type of mutation.
I think this is nexusjs problem, i will ask them later.
Thanks for your reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants