- if the DataValue type is wikibase-entityid:
- use the EntityIdParser (that's already passed into PropertyValuePairDeserializer) to create an EntityId
- create a new EntityIdValue from the EntityId
- create the PropertyValueSnak from the property id and the EntityIdValue
- return the PropertyValueSnak
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
REST: Simplify the value format in deserializers | mediawiki/extensions/Wikibase | master | +199 -36 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | WMDE-leszek | T322734 🍰 Simplify value format for some value types in statement data of REST API requests and responses | |||
Resolved | Ollie.Shotton_WMDE | T323702 🍰 Simplify the value format in deserializers |
Event Timeline
Comment Actions
Change 860060 had a related patch set uploaded (by Ollie Shotton; author: Ollie Shotton):
[mediawiki/extensions/Wikibase@master] REST: Simplify the value format in deserializers
Comment Actions
Change 860060 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Simplify the value format in deserializers