daniel created this task.
daniel added a project: Wikidata.
Herald added a subscriber: Aklapper.

TASK DESCRIPTION

SerializerFactory::newEntitySerializer only works for Items and Properties. The code that currently uses it should however use a serializer that supports all configured entity types, as returned by WikibaseRepo::getEntityDeserializer.

SerializerFactory could still have newItemSerializer() and newPropertySerializer() methods. That would be consistent with the idea that this class provides serializers for the basic entity types.

One specific issue caused by code using SerializerFactory::newEntitySerializer instead of instance of WikibaseRepo::getEntityDeserializer is T160426.

Initially, we planned to add support for custom entity types to SerializerFactory, see T157596.


TASK DETAIL
https://phabricator.wikimedia.org/T160436

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: Aklapper, WMDE-leszek, thiemowmde, daniel, QZanden, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to