Replies: 1 comment
-
See #453 👀 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, guys, thank you all for maintaining such an amazing and useful repository.
Second, i'm really new to both graphql and type-graphql. So I may be lacking certain common knowledge.
Consider this input class where
displayName
is a required field.This works well for my create mutation. But if I were to implement an update mutation, where i would like to make all fields optional, i need to create another input type like
UserInputForUpdate
This essentially adds duplication across all of my schemas. Which sometimes I do not mind but still brings me to a couple of questions
One thanks in advance ;)
Beta Was this translation helpful? Give feedback.
All reactions