struct
struct copied to clipboard
Is there a way to make validation partial or optional ?
For example, while using with REST APIs (Luminus), for POST request all fields validated as defined in validation schema, but for PUT request, only fields present in request body validated using same validation schema.
@phoenix2082 could you provide some examples? I'm interested in the issue.
I don't have example handy right now. At that time I was working on REST API. Let me find some example.