Bene added a comment. We already have the `DispatchableDeserializer` and `DispatchableSerializer` which do exactly that: You can pass an Entity object and it detects the requried Serializers/Deserializers for that type. We can thus just drop the `EntityDeserializer` imo completely as it isn't even exposed publicly in the factories. `DeserializerFactory::newEntityDeserializer` actually returns a `DispatchableDeserializer`.
TASK DETAIL https://phabricator.wikimedia.org/T97706 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bene Cc: JeroenDeDauw, Bene, Aklapper, Wikidata-bugs, aude _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs