Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If fields are marked as required then I think that we should be forced to supply all of them, even if supplied with null values. Currently, I am able to construct an object without all of the required fields, send it to my backend, and nowhere does an error occur before sending. This should fail fast at the client. Instead, on the server I get null values. Null is so different than unspecified.
Thanks!