Page MenuHomePhabricator

User-defined types work with validation
Open, Needs TriagePublic

Description

The following actions all work with user-defined types:

  • user-defined types can be created
  • a validator for a user-defined type can be defined
  • a validator for a user-defined type can be implemented
  • validators can call the default validator for some of the validation, and then add more validation on top of it (e.g. use the default validator to make sure all keys are there and have the right type, and then use a bespoke checker to make sure that a specific key's value follows additional rules)
  • an instance of a user-defined type can be created
  • a user-defined type has a working UX to be entered, displayed, and changed
  • validators run on instances
  • instances which should fail, fail at validation and do not get saved
  • instances which should fail cause an exception when being created programmatically
  • users can define bespoke error types for validation
  • users can raise bespoke error types when validation fails
  • functions with user-defined types as input or output types can be defined and implemented
  • user-defined types are displayed with a default component
  • user-defined types can be entered using a default input component
  • support de/serialization for user defined types

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
Opengengh
DuplicateNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedBUG REPORTcmassaro
OpenNone
OpenNone
OpenNone
Opengengh
DeclinedLindsaykwardell
ResolvedLindsaykwardell
Resolvedcmassaro
Resolvedcmassaro
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
Resolvedcmassaro
ResolvedDVrandecic
ResolvedDVrandecic
ResolvedDVrandecic
ResolvedDVrandecic
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
Resolvedcmassaro
OpenNone
OpenNone
OpenDVrandecic
OpenDVrandecic
ResolvedBUG REPORTJdforrester-WMF
OpenDVrandecic
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedJdforrester-WMF
OpenNone
OpenNone
StalledNone
ResolvedDVrandecic
Resolvedgengh
OpenNone
ResolvedDVrandecic
OpenNone
ResolvedJdforrester-WMF
OpenNone
OpenNone
Resolvedcmassaro
ResolvedDVrandecic
ResolvedLindsaykwardell
Resolvedarthurlorenzi
ResolvedNone
InvalidNone
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
ResolvedJdforrester-WMF
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
ResolvedNone
OpenNone
OpenNone
OpenSimoneThisDot
OpenNone
OpenNone
OpenNone
ResolvedNone
OpenDVrandecic
OpenNone
OpenNone
Resolvedgengh
Resolvedcmassaro
OpenJdforrester-WMF
OpenNone

Event Timeline

Is there a reserved range for user-defined types? I am working on the function-schemata part of this.

Change 720111 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):

[mediawiki/services/function-schemata@master] Add support for user-defined types.

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

Change 720111 merged by jenkins-bot:

[mediawiki/services/function-schemata@master] Add support for normal-form user-defined types.

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

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

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

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

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

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

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

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

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

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

Change 721913 merged by jenkins-bot:

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

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

Change 721912 merged by jenkins-bot:

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

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

Change 721914 merged by jenkins-bot:

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

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