Page MenuHomePhabricator

🥣️ Remove the `type` field from responses that include Statement(s)
Closed, ResolvedPublic

Description

  • remove the type field from the statement serialisation in Wikibase\Repo\RestApi\Domain\Serialization\StatementSerializer
  • explicitly test absence of the type field in unit tests (but not in the e2e tests)

Event Timeline

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

[mediawiki/extensions/Wikibase@master] REST: Remove 'type' field from statement serialization

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

Change 832981 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Remove 'type' field from statement serialization

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