Page MenuHomePhabricator

DataModelSerialization: The serializer should allow marking specific parts of the data as "deleted".
Closed, DeclinedPublic

Description

API modules that modify entity data return the modified data structure, with any deleted parts marked as deleted. The "new" serializer needs to support this feature somehow, if we are to maintain feature parity.

However, since this is not easily done, we should also consider the option of dropping deletion markers from the output.

Event Timeline

daniel raised the priority of this task from to High.
daniel updated the task description. (Show Details)
JanZerebecki lowered the priority of this task from High to Medium.May 16 2015, 5:19 PM
JanZerebecki set Security to None.

Most of the API output now uses the DM serialization, extra methods for output marked as deleted are in ResultBuilder.

We potentially don't need to add this 'deleted' functionality to the DM serializers.

Thoughts @daniel?

Bene claimed this task.

Per @Addshore this feature isn't needed in the serializers but we did a workaround in ResultBuilder. Actually, the "mark as deleted/removed" functionality wasn't really a serialization but rather an api result that belongs into ResultBuilder.