Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-3404

Overriding bracketed lists

    XMLWordPrintable

Details

    • Support Request
    • Resolution: Done
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Currently we already have a section here about "Overriding lists items".

      YAML lists can be defined in a few different ways. Maps, dashed and bracketed. See YAML syntax.

      When overriding a bracketed list you must put the override directive between the key and list.

      Example
      Original:

      protocol: [ 'http', 'https' ]
      

      Override:

      protocol: !override
        [ 'https' ]
      

      Attachments

        Activity

          People

            abrooks Adrian Brooks
            rgange Richard Gange
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: