Page MenuHomePhabricator

[Task] Support serialization of additional entities
Closed, ResolvedPublic

Description

We need a way to inject serializers and deserializers for new types of entities. This can be done using a DispatchingSerializer. There are some things that need to be done though:

  • We want some callbacks to create serializers for a single type of entity (T76021).
  • Therefore, we should create public methods to create serializers and deserializers for Item and Property individually. A new DispatchableDeserializer can then be created in a place where all supported entity types are known.
  • The Wikibase Internal Serialization component then also needs some adjustments.

Related Objects

StatusSubtypeAssignedTask
Declineddchen
OpenNone
OpenNone
DuplicateNone
OpenFeatureNone
OpenFeatureNone
DuplicateNone
ResolvedNone
ResolvedNone
ResolvedNone
DuplicateNone
InvalidLydia_Pintscher
OpenNone
OpenNone
StalledNone
OpenNone
ResolvedAddshore
Resolvedthiemowmde
ResolvedAddshore
Resolveddaniel
ResolvedBene

Event Timeline

Bene claimed this task.
Bene raised the priority of this task from to Medium.
Bene updated the task description. (Show Details)
Bene added a subscriber: daniel.
Bene set Security to None.

Change 274462 had a related patch set uploaded (by Bene):
Create (de)serializers based on callbacks

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

Change 274462 merged by jenkins-bot:
Create (de)serializers based on callbacks

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

Bene moved this task from Review to Done on the Wikidata-Sprint-2016-03-01 board.