Page MenuHomePhabricator

💥️ Consider moving DataValueValidator out of the Validation namespace
Closed, ResolvedPublic

Description

Using the DataValueValidator inside the PropertyValuePairDeserializer creates an interdependency between the two namespaces. This is bad.

Event Timeline

Change 870661 had a related patch set uploaded (by Ollie Shotton; author: Ollie Shotton):

[mediawiki/extensions/Wikibase@master] REST: Solution 1 - new deserializer

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

Change 870821 had a related patch set uploaded (by Ollie Shotton; author: Ollie Shotton):

[mediawiki/extensions/Wikibase@master] REST: Solution 2 - move DataValueValidator interface

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

Change 870821 abandoned by Ollie Shotton:

[mediawiki/extensions/Wikibase@master] REST: Solution 2 - move DataValueValidator interface

Reason:

in favour of Id7021f827a9a49924eae3c6ded11be1e878fc3c3

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

Change 870661 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Fix namespace interdependency

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