[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: |
|
||||
| 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 protocol: [ 'http', 'https' ] Override:
protocol: !override
[ 'https' ]
|