| daniel triaged this task as "Low" priority. daniel edited the task description. (Show Details) |
EDIT DETAILS
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. The same applies for get DeserializerFactory::newEntityDeserializer.
Note that DeserializerFactory::newEntityDeserializer has one usage which could be inlined, and SerializerFactory::newEntitySerializer is only used in tests, where it could be replaced by newItemSerializer, or inlined.
...
Initially, we planned to add support for custom entity types to SerializerFactory, see T157596.Note that DeserializerFactory::newEntityDeserializer has one usage which could be inlined, and SerializerFactory::newEntitySerializer is only used in tests, where it could be replaced by newItemSerializer, or inlined.
TASK DETAIL
EMAIL PREFERENCES
To: daniel
Cc: Aklapper, WMDE-leszek, thiemowmde, daniel, QZanden, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
Cc: Aklapper, WMDE-leszek, thiemowmde, daniel, QZanden, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
