Page MenuHomePhabricator

Consider updating the pre-defined Abstract/Reify functions to accept/return Map objects, not just Pairs
Closed, ResolvedPublic

Description

function-orchestrator code can be found at https://gerrit.wikimedia.org/g/mediawiki/services/function-orchestrator

Look for this task's ID in src/builtins.js

Currently, these functions work with a Z10 of Z22s, which has to change because 1) Z10 should be a generic list (Z10 is deprecated) and 2) Z22s should be generic Pairs (Z22 is now the result envelope type).

A List of Pairs is just a Map.

Event Timeline

Jdforrester-WMF renamed this task from Consider Having Builtin Abstract/Reify Accept/Return Maps to Consider providing pre-defined Abstract/Reify functions that accept/return Map objects, not just Pairs.Dec 1 2021, 5:15 PM
Jdforrester-WMF renamed this task from Consider providing pre-defined Abstract/Reify functions that accept/return Map objects, not just Pairs to Consider updating the pre-defined Abstract/Reify functions to accept/return Map objects, not just Pairs.Dec 1 2021, 5:18 PM
Jdforrester-WMF renamed this task from Consider updating the pre-defined Abstract/Reify functions to accept/return Map objects, not just Pairs to Consider changing pre-defined Abstract/Reify functions that accept/return Map objects, not just Pairs.
Jdforrester-WMF renamed this task from Consider changing pre-defined Abstract/Reify functions that accept/return Map objects, not just Pairs to Consider updating the pre-defined Abstract/Reify functions to accept/return Map objects, not just Pairs.
DVrandecic triaged this task as Lowest priority.Dec 8 2021, 11:36 PM

We considered it, and changed it to Generic List of Pairs.