daniel added a comment. @JeroenDeDauw In theory, you are right: the serializer should just serialize whetever they are given. In practice, this means adding a second, rather complex, data model on top of the core data model, or complicating the core data model. That's a lot of work, and the modeling isn't easy to get right either. We explicitly discussed this option, but decided that it's not worth the pain to keep the serializers "clean".
TASK DETAIL https://phabricator.wikimedia.org/T73170 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: daniel Cc: JeroenDeDauw, thiemowmde, Bene, Wikidata-bugs, Tobi_WMDE_SW, JanZerebecki, adrianheine, Lydia_Pintscher, daniel, aude _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs