Page MenuHomePhabricator

New pre-defined built-in function: Z828/Get Metadata about Persistent Object
Closed, ResolvedPublic

Description

A builtin that takes a Z9/Reference ZID and, instead of the value object, returns the Z2/Persistent object wrapper.

Allows to write code against the labels etc.

Signature: Z9 -> Z2

Suggest ZID: Z820 (because Z2 is persistent object)

  • Defined in function-schemata
  • Implemented in function-orchestrator

Event Timeline

DVrandecic renamed this task from New builtin: Get meta to New builtin: Get Persistent Object.Sep 1 2021, 4:18 PM
DVrandecic updated the task description. (Show Details)

Make it two functions, one that also takes a list of key references and returns only those.

The other function is without that second argument and returns the whole object.

DVrandecic renamed this task from New builtin: Get Persistent Object to New builtin: Get Metadata about Persistent Object.Sep 2 2021, 2:40 AM
Jdforrester-WMF renamed this task from New builtin: Get Metadata about Persistent Object to New pre-defined built-in function: Z828/Get Metadata about Persistent Object.Jan 26 2022, 10:27 PM
Jdforrester-WMF added a subscriber: Aklapper.

Change 860091 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/services/function-schemata@master] definitions: Define Z828/Fetch persistent ZObject and Z928 built-in

https://gerrit.wikimedia.org/r/860091

Change 860091 merged by jenkins-bot:

[mediawiki/services/function-schemata@master] definitions: Define Z828/Fetch persistent ZObject and Z928 built-in

https://gerrit.wikimedia.org/r/860091

Change 861416 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/services/function-orchestrator@master] Update function-schemata sub-module to HEAD (a19a2e3)

https://gerrit.wikimedia.org/r/861416

Change 861418 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/tools/wikilambda-cli@master] Update function-schemata sub-module to HEAD (a19a2e3)

https://gerrit.wikimedia.org/r/861418

Change 861417 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/services/function-evaluator@master] Update function-schemata sub-module to HEAD (a19a2e3)

https://gerrit.wikimedia.org/r/861417

Change 861419 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (a19a2e3)

https://gerrit.wikimedia.org/r/861419

Change 861419 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (a19a2e3)

https://gerrit.wikimedia.org/r/861419

Change 861418 merged by jenkins-bot:

[mediawiki/tools/wikilambda-cli@master] Update function-schemata sub-module to HEAD (a19a2e3)

https://gerrit.wikimedia.org/r/861418

Change 861417 merged by jenkins-bot:

[mediawiki/services/function-evaluator@master] Update function-schemata sub-module to HEAD (a19a2e3)

https://gerrit.wikimedia.org/r/861417

Change 861416 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Update function-schemata sub-module to HEAD (a19a2e3)

https://gerrit.wikimedia.org/r/861416

Change 863388 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/services/function-orchestrator@master] JavaScript code for new function Z828 & built-in implementation Z928

https://gerrit.wikimedia.org/r/863388

Change 863388 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] JavaScript code for new function Z828 & built-in implementation Z928

https://gerrit.wikimedia.org/r/863388