Lucas_Werkmeister_WMDE created this task.
Lucas_Werkmeister_WMDE added projects: Wikidata, Wikibase-Quality-Constraints, Wikibase-Quality.
Herald added a subscriber: Aklapper.

TASK DESCRIPTION

As a more general version of T180799: Only parse constraint exceptions once per constraint, I suppose there’s no reason to parse any other constraint parameters more than once, either. CachingConstraintLookup (from T89349: [Task] Only query constraints table once per property) should already ensure that all constraint checks for the same constraint operate on the same Constraint object, so we could use that to cache the constraint parameters.

Currently, we store a slightly transformed version of the constraint parameters on the check result. (Usually, the transformation only consists of wrapping a single-valued parameter, like “relation” or “namespace”, in a one-element array, but the type checkers also convert their array of class entity ID serializations to entity ID objects.)


TASK DETAIL
https://phabricator.wikimedia.org/T180801

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Lahi, GoranSMilovanovic, QZanden, Agabi10, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to