Page MenuHomePhabricator

User-defined types work with validation
Closed, ResolvedPublic

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
StalledNone
Resolvedcmassaro
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
DuplicateNone
OpenNone
ResolvedNone
ResolvedNone
Resolvedcmassaro
ResolvedBUG REPORTcmassaro
Resolvedcmassaro
ResolvedNone
Resolvedgengh
Resolvedgengh
DeclinedLindsaykwardell
ResolvedLindsaykwardell
Resolvedcmassaro
Resolvedcmassaro
ResolvedNone
ResolvedNone
Resolvedgengh
Resolvedcmassaro
ResolvedNone
InvalidNone
Invalidgengh
ResolvedDVrandecic
ResolvedDVrandecic
ResolvedDVrandecic
ResolvedSimoneThisDot
ResolvedSimoneThisDot
ResolvedJKieserman
ResolvedNone
ResolvedNone
ResolvedJdforrester-WMF
ResolvedNone
ResolvedNone
DeclinedNone
ResolvedSimoneThisDot
ResolvedSimoneThisDot
Resolvedcmassaro
Resolvedcmassaro
ResolvedSimoneThisDot
ResolvedSimoneThisDot
Resolvedcmassaro
Resolvedcmassaro
ResolvedBUG REPORTJdforrester-WMF
ResolvedSimoneThisDot
Resolvedgengh
Resolvedgengh
Resolvedcmassaro
Resolvedcmassaro
ResolvedJdforrester-WMF
ResolvedDVrandecic
ResolvedDVrandecic
ResolvedJdforrester-WMF
Resolvedcmassaro
ResolvedSimoneThisDot
ResolvedJdforrester-WMF
ResolvedDVrandecic
ResolvedNone
ResolvedNone
Resolvedcmassaro
ResolvedDVrandecic
ResolvedLindsaykwardell
Resolvedarthurlorenzi
ResolvedNone
InvalidNone
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
ResolvedJdforrester-WMF
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
ResolvedNone
ResolvedSimoneThisDot
ResolvedSimoneThisDot
ResolvedSimoneThisDot
ResolvedJdforrester-WMF
Resolvedcmassaro
Resolvedgengh
Resolvedcmassaro
ResolvedJdforrester-WMF
Resolvedcmassaro
Resolvedcmassaro
ResolvedNone
ResolvedDVrandecic
Resolvedcmassaro
Resolvedarthurlorenzi
ResolvedAdesojiThisDot

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