Description
I've got an PATCH endpoint that allows partial updates to an object. Some properties are nullable, so I can't use null to detect if a change is wished. Setting no default on the target properties throws validation error (property must be specified). I've would like mark properties as optional and leave them unset if they are missing in the request and only get validated if they in the request.
Description
I've got an
PATCHendpoint that allows partial updates to an object. Some properties are nullable, so I can't usenullto detect if a change is wished. Setting no default on the target properties throws validation error (property must be specified). I've would like mark properties as optional and leave them unset if they are missing in the request and only get validated if they in the request.