Page MenuHomePhabricator

Factor entity content serialization out of EntityContent (and friends)
Closed, ResolvedPublic

Description

We want to allow EntityContent to represent redirects; the knowledge about how redirects are encoded in the JSON structure should not be in Entity (since Entity doesn't know about redirects), not should it be in EntityContent or EntityHandler (since these are not available on the client).

Therefore the serialization code needs to be factored into a standalone service object.


Version: unspecified
Severity: normal
Whiteboard: u=dev c=backend p=3 s=2014-06-03

Details

Reference
bz66024

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:24 AM
bzimport set Reference to bz66024.
bzimport added a subscriber: Unknown Object (MLST).

Change 134373 had a related patch set uploaded by Daniel Kinzler:
Introducing EntityContentDataCodec

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

Change 134373 merged by jenkins-bot:
Introducing EntityContentDataCodec

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