Page MenuHomePhabricator

Discuss whether we need to consider the case of new keys being added to existing types with instances
Open, Needs TriagePublic

Description

Say there's a type Z999 with one key Z999K1 and there's been a bunch of instances of this type being created (E.g. Z10001)

  • Do we allow for a user to edit Z999 and add one more key? (Z999K2)
  • If we do so, then we should allow users to enter a value when editing existing instances (Z10001) (currently we don't)

An example of an instance missing one key: https://wikifunctions.beta.wmflabs.org/wiki/Z10029?view=zobject-viewer
Which is an instance of the type Mushroom, that has four keys: https://wikifunctions.beta.wmflabs.org/wiki/Z10024

Event Timeline

gengh renamed this task from Discuss whether we need to consider the case of new keys being added to existing types to Discuss whether we need to consider the case of new keys being added to existing types with instances.Aug 22 2022, 6:23 PM
gengh created this task.

Things to be considered:

  • Some keys should be marked as optional
  • Some keys may have a default value