invalidFields
Builds one ValidationResult.Invalid carrying one errors[] entry per pair in fields. Use this for a validator that finds more than one invalid member in the same request body, RFC 9457's own recommended shape for multi-field validation.
Parameters
fields
pointer-to-detail pairs, in the same sense as invalidField's parameters.
See also
Throws
if fields is empty, or if any pointer or detail in it contains U+0000.
The List form of invalidFields, for a validator that accumulates its findings before returning rather than knowing them all at the call site.
Parameters
fields
pointer-to-detail pairs, in the same sense as invalidField's parameters.
See also
Throws
if fields is empty, or if any pointer or detail in it contains U+0000.