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


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: wikidata-bugs.
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.


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


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

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


Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.