Description
This function is used internally to ZWrapper.resolveInternal_. This causes scope information to be lost; the ZWrapper itself should instead call makeMappedResultEnvelope and then ZWrapper.create, using its own scope.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- ZWrapper scope information is preserved when creating result envelopes
Completion checklist
- 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