Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6664

Inheritance of registry definitions from YAML

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Major Major
    • 5.5.6, 5.6
    • None
    • None
    • None
    • Yes
    • Basel 103, Basel 104, Basel 105
    • 2

      Introduce "inherits" for inheriting a definition from a registry.

      • Ability to override values by supplying them under the !inherits statement. (As proposed in the light-yaml forge module with the "extends-def" keyword.)
      • Supports override keyword to stop the extending.
      • Do not allow inheriting from a sub definition. (ie don't support the ":/form" at the end of !inherits:dialogs:mtk:components/image:/form)
      • Referencing syntax starts with the type name. In the referencing syntax, types do have an s at the end - ie "dialogs".
      • Implement for YAML - (it will also be implemented for JCR and code (think blossom) in other tickets
      • Log error message in case someone puts the typename after the module-name or makes some other anticipated mistake.

        Acceptance criteria

              apchelintcev Aleksandr Pchelintcev
              czimmermann Christopher Zimmermann
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD