Before, Z22 is of type Z1,Z5|Z24 [i.e. An anything plus an error or void]
After, Z22 is of type Z1,Z883(Z6,Z1) [i.e. An anything plus a Z883 = Typed map of string=>anything]
✅ Set-up
- Add / modify relevant function-schemata methods to support new Z22 format (in which Z22K2 is a Z883 / Map instead of a Z5 / Error)
- Alter function-orchestrator to handle either old or new Z22 format coming from the evaluator. (Orchestrator should use the new Z22 format throughout, but must return the old format to its callers.)
- Alter MW PHP API to handle either old or new Z22 format coming from the orchestrator (but still return the old format to callers).
- Alter MW Vue layer to handle either old or new Z22 format coming from the PHP layer.
✅ Switch-over
- Update function-schemata to use map-based responseEnvelopes internally (but still supports basic responseEnvelopes)
- Update relevant JSON & YAML files in function-schemata
- Alter function-evaluator to respond with a map object instead of a direct Z5 or Z24.
- Alter function-orchestrator to respond with a map object instead of a direct Z5 or Z24.
- Alter MW PHP API to respond with a map object instead of a direct Z5 or Z24.
✅ Clean-up
- Ensure that no function-schemata test code/cases employ the old format
- Ensure that no function-evaluator test code/cases employ the old format
- Ensure that no function-orchestrator test code/cases employ the old format
- Ensure that no PHP test code/cases employ the old format
- Ensure that no Vue test code/cases employ the old format
- Drop back-compat. code in function-evaluator
- Drop back-compat. code in function-orchestrator
- Drop back-compat. code in MW PHP API
- Drop back-compat. code in MW Vue code
- Drop back-compat. code in function-schemata