The request validation code currently instantiates more validators than it needs in most cases. We should lazily instantiate the required validators for each request instead of instantiating all of them right away.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
REST: Use service container for validator instantiation | mediawiki/extensions/Wikibase | master | +493 -534 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Ifrahkhanyaree_WMDE | T344994 🚅️ Improve use case validation code | |||
Resolved | Jakob_WMDE | T346615 🚅️ Optimize validator instantiation code |
Event Timeline
Comment Actions
Change 958954 had a related patch set uploaded (by Jakob; author: Jakob):
[mediawiki/extensions/Wikibase@master] REST: Use service container for validator instantiation
Comment Actions
Change 958954 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Use service container for validator instantiation