Description
Since instances of Wikidata types are constructed automatically by orchestrator code, which checks the validity of the JSON content retrieved from Wikidata, it's inessential for the orchestrator to perform the extra recursive resolution step.
It should be possible to eliminate this step by marking the ZWrappers for these instances as "fully resolved", and checking this flags before running the resolution step.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- We expect this to improve performance whenever the orchestrator fetches Wikidata content of a nontrivial size.
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist