Skip to content

Pattern for not accidently returning too much in the payload of a mutation? #4716

Answered by PascalSenn
wondering639 asked this question in Q&A
Discussion options

You must be logged in to vote

you would most always return a payload.
checkout https://chillicream.com/docs/hotchocolate/defining-a-schema/mutations/#conventions

I guess you should ignore the password field anyway on the user.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wondering639
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants