Open
Description
Given this config
---
Name: somecoreconfig
---
SomeClass:
extensions:
- SomeExtension
---
Name: myconfig
replaces: '#somecoreconfig'
---
SomeClass:
extensions:
- AnotherExtension
The "merged" config would only contain
SomeClass:
extensions:
- AnotherExtension
This would work similarly to before
and after
, but would only work with a single named block #somename
.
Other blocks that are before
/ after
the named block would not break, but the replacement would be substituted in place of the original in the original position.
You cannot use replaces
with before
/ after