Bene created this task. Bene claimed this task. Bene added a subscriber: daniel. Bene added projects: Wikidata-Sprint-2016-02-02, Wikidata, Wikibase-DataModel-Serialization, Wikibase-Internal-Serialization. Herald added a subscriber: Aklapper.
TASK 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 deprecate `SerializerFactory::newEntitySerializer` and `DeserializerFactory::newEntityDeserializer` and 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. TASK DETAIL https://phabricator.wikimedia.org/T126932 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bene Cc: Aklapper, daniel, Izno, Wikidata-bugs, aude, Mbch331 _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs