Closed ncorn closed 9 years ago
General agreement that we SHOULD to # 2.
If full aggregation is not happening developers should provide reasons on why not.
I disagree that parsing errors are useful after the first to. If you are missing a comma or brace in JSON then attempting to continue parsing will likely generate nonsense. I've never seen agreement on this point nor a working implementations on the parsing errors.
Validation of data errors are different and I believe your point? Consider this language
Implementations SHOULD NOT attempt to aggregate errors that are about syntax of the request. i.e. Only one missing comma at a time.
Implementations SHOULD attempt to aggregate data validation errors within a valid request. i.e. Validate that all email address are a valid syntax or all numbers are within the predefined range.
We have the ability to do aggregate errors and then individual detail about exceptions. In implementation people typically do one of two things:
I propose that we add some wording to require the second option.