[go: up one dir, main page]

Page MenuHomePhabricator

🌶️ Implement the PatchItemStatement use case happy path
Closed, ResolvedPublic

Description

  • create a new PatchItemStatementRequest class
  • create a new PatchItemStatementSuccessResponse class
  • create a new PatchItemStatement use case class:
    • retrieve Item
    • get Statement from Item
    • use the newly created StatementPatcher to apply the patch to the Statement
    • replace the Statement on the Item
    • save using the ItemUpdater
    • return a PatchItemStatementSuccessResponse

Event Timeline

Change 827947 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):

[mediawiki/extensions/Wikibase@master] REST: Create PatchItemStatement use case

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

Change 827947 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Create PatchItemStatement use case

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