You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Came across a use case where I'm trying to validate a request payload structure, the fields in the payload can be validated but since they are optional how should I validate that there should be at least one populated field in the structure. In other words, I want to write a validation for empty struct.
The text was updated successfully, but these errors were encountered:
Came across a use case where I'm trying to validate a request payload structure, the fields in the payload can be validated but since they are optional how should I validate that there should be at least one populated field in the structure. In other words, I want to write a validation for empty struct.
The text was updated successfully, but these errors were encountered: