Directory

⚓ T346615 🚅️ Optimize validator instantiation code
Page MenuHomePhabricator

🚅️ Optimize validator instantiation code
Closed, ResolvedPublic

Description

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.

Event Timeline

Change 958954 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] REST: Use service container for validator instantiation

https://gerrit.wikimedia.org/r/958954

Change 958954 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Use service container for validator instantiation

https://gerrit.wikimedia.org/r/958954