Unable to merge cascade config from theme/module

I was trying to have cascade settings inherited from an imported module, but to no avail. It’s certainly no showstopper, but it would be nice if the module could be self-sufficient instead of having to alter the site config.

I was trying to enable a custom output format for my unit tests (thanks again @jmooring for the awesome help!), but it did not work until I moved the cascade config bit:

[[cascade]]
  [cascade.params]
    search = false
    outputs = ['spec']
  [cascade.target]
    path = '{/test/**}'

have a look at: merge configuration

you will at least add entries for the things you want to merge differently

I’ve tried with

[cascade]
  merge = 'deep'

(and shallow) in the root config. It did not make a difference.

Maybe ‘cascade’ is special given there is an open issue with another config related behavior: Handle config slice entries (e.g. cascade) in config folder

Two issues:

  1. The keyword is _merge not merge
  2. You can control how settings are merged when cascade is a map, but not when it is an array.

Please create a GitHub issue regarding #2, and include something like:

See also #12899.

@jmooring Done: #13869

Thanks!