I get following ValidationError error back: "child "id" fails because ["id" must be a number]"
My schema defines "id" as integer and "username" as string so the validation behavior is correct. However - I am unable to get ALL errors at once from the validation function. This means I can't validate all fields at once and return an array of errors.
Hi,
When I'm trying to validate object such as:
I get following ValidationError error back:
"child "id" fails because ["id" must be a number]"
My schema defines "id" as integer and "username" as string so the validation behavior is correct. However - I am unable to get ALL errors at once from the validation function. This means I can't validate all fields at once and return an array of errors.
Is this possible / am I missing something?