Page MenuHomePhabricator

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



Related Objects

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:21 AM
bzimport set Reference to bz57213.
bzimport added a subscriber: Unknown Object (MLST).

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

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

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

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