[DOCU-3404] Overriding bracketed lists Created: 18/Jan/24  Updated: 23/Jan/24  Resolved: 23/Jan/24

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Support Request Priority: Neutral
Reporter: Richard Gange Assignee: Adrian Brooks
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
Template:

 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' ]

Generated at Mon Feb 12 01:35:51 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.