Currently ZObjectFactory::create throws an InvalidArgumentException as soon as one validation error is found. To be able to return a ZError object with an array of concrete validation errors, we need to transform this logic so that the validation is always completed and not interrupted when finding the first error.
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/extensions/WikiLambda | master | +2 K -613 | Decouple validation and ZObject creation to use function-schemata validator |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T290119 Phase η root task | |||
Resolved | gengh | T287746 Update meta page about representation of errors with all the latest conversation/decisions | |||
Resolved | gengh | T288123 Re-work Z5/Error model and handling | |||
Resolved | gengh | T284672 Allow ZObject validation process in ZObjectFactory create method to return an array of errors instead of one. |
Event Timeline
Comment Actions
Change 724766 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):
[mediawiki/extensions/WikiLambda@master] Decouple validation and ZObject creation to use function-schemata validator
Comment Actions
Change 724766 merged by jenkins-bot:
[mediawiki/extensions/WikiLambda@master] Decouple validation and ZObject creation to use function-schemata validator