Replies: 1 comment
-
Bumping because I too would like to know. |
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
-
Is there an accepted practice to deal with sometimes optional fields?
Optional fields are defined here
However, I often will have fields that are required on the model, but then create a method to update only a piece of the model, often only sending the relevant data over the wire, not the whole model. Essentially I need the fields to be optional for some requests, but not for others.
Beta Was this translation helpful? Give feedback.
All reactions