API output should include each snak's data type id
Closed, ResolvedPublic

Description

The serialization of PropertyValueSnaks may contain a datatype field indicating
the snak's data type. This is more useful than the often ambiguous or
misleading value type.

The output gernerated by API modules should thus contain the datatype field.


Version: unspecified
Severity: enhancement

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz57213.
daniel created this task.Via LegacyNov 18 2013, 10:21 PM
gerritbot added a comment.Via ConduitNov 19 2013, 2:07 PM

Change 96258 had a related patch set uploaded by Daniel Kinzler:
Allow service injection into serializers.

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

daniel added a comment.Via ConduitDec 4 2013, 11:34 AM

Status: this is now supported by the serializers, but API modules need to be updated to make use of that new feature.

gerritbot added a comment.Via ConduitJan 20 2014, 4:48 PM

Change 108530 had a related patch set uploaded by Addshore:
Include dataType id in API output

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

gerritbot added a comment.Via ConduitJan 22 2014, 10:44 PM

Change 108530 merged by Jeroen De Dauw:
Include dataType id in API output.

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

Add Comment