Page MenuHomePhabricator

📖️ Use StatementList ReadModel in ItemUpdater's return value (ItemRevision)
Closed, ResolvedPublic

Description

  • ItemUpdater currently returns ItemRevision which contains a DataModel Item
  • Create an Item ReadModel class containing only a getStatements() method which returns a StatementList ReadModel object
  • Change ItemRevision to contain an Item ReadModel object instead

Event Timeline

Ollie.Shotton_WMDE renamed this task from Use StatementList ReadModel in ItemUpdater's return value (ItemRevision) to 📖️ Use StatementList ReadModel in ItemUpdater's return value (ItemRevision).Jan 10 2023, 2:42 PM
Ollie.Shotton_WMDE created this task.

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

[mediawiki/extensions/Wikibase@master] REST: Move ItemRevision to ReadModel namespace

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

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

[mediawiki/extensions/Wikibase@master] REST: Use Item read model in ItemRevision

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

Change 879757 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Move ItemRevision to ReadModel namespace

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

Change 879831 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Use Item read model in ItemRevision

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