In function-orchestrator/src/utils.js, getTypeZID and createSchema have some overlapping functionality.
This functionality likewise overlaps with the TypeKeys in function-schemata/javascript/src/schema.js.
This functionality should all be collapsed into a single utility function, ideally in function-schemata.
Description
Details
Related Objects
- Mentioned In
- rMSFO4022ca39d117: utils: Remove getTypeZID and instead use ZObjectKeyFactory
rMSFOe08fe9d60da7: Update function-schemata sub-module to HEAD (e130e59)
rMSFE79aa1b46f059: Update function-schemata sub-module to HEAD (e130e59)
rMSFS756d40f472b1: Create keys for arbitrary ZObjects in addition to types.
Event Timeline
This logic should all be collapsed with keyForGeneric, too. Type ZID inference must take into account Z9s, Z7s, and Z4s.
Change 742999 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):
[mediawiki/services/function-schemata@master] Create keys for arbitrary ZObjects in addition to types.
Change 744036 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):
[mediawiki/services/function-orchestrator@master] Clean up createSchema, getTypeZID, etc.
Change 742999 merged by jenkins-bot:
[mediawiki/services/function-schemata@master] Create keys for arbitrary ZObjects in addition to types.
Change 744082 had a related patch set uploaded (by Jforrester; author: Jforrester):
[mediawiki/services/function-orchestrator@master] Update function-schemata sub-module to HEAD (faa93ac)
Change 744083 had a related patch set uploaded (by Jforrester; author: Jforrester):
[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (faa93ac)
Change 744084 had a related patch set uploaded (by Jforrester; author: Jforrester):
[mediawiki/services/function-evaluator@master] Update function-schemata sub-module to HEAD (faa93ac)
Change 745566 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):
[mediawiki/services/function-orchestrator@master] Update function-schemata sub-module to HEAD (e130e59)
Change 744084 merged by jenkins-bot:
[mediawiki/services/function-evaluator@master] Update function-schemata sub-module to HEAD (e130e59)
Change 745566 abandoned by Jforrester:
[mediawiki/services/function-orchestrator@master] Update function-schemata sub-module to HEAD (e130e59)
Reason:
Change 744082 merged by Cory Massaro:
[mediawiki/services/function-orchestrator@master] Update function-schemata sub-module to HEAD (e130e59)
Change 744036 merged by jenkins-bot:
[mediawiki/services/function-orchestrator@master] utils: Remove getTypeZID and instead use ZObjectKeyFactory
Change 744083 merged by jenkins-bot:
[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (e130e59)