Lucas_Werkmeister_WMDE added a comment.

I admit I’m tempted to go with the much simpler … fake EntityDocument …

Hm, though if we do go with a temporary solution, an alternative approach would be a new Context implementation, which only supports storeCheckResultInArray (because that’s all we need for the caching use-case), and throws LogicExceptions on all other getters. (I think it could be a single implementation supporting all three context types – statement, qualifier, reference – since they’re pretty similar anyways: see the shared code in ApiV2Context.)


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

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

To: Lucas_Werkmeister_WMDE
Cc: Ladsgroup, Aklapper, Lucas_Werkmeister_WMDE, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Agabi10, abian, 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