Deployment modes override and rename to override with another type?

Deployment modes can change anything (though it's not necessarily recommended).

If it helps, think of it as a single project inheritance tree. If you're in the dev mode, you're consuming external -> system -> core, then whatever dev defines, and then potentially overridden by anything local:

Tree External External System System External->System Core Core System->Core Dev Dev Core->Dev Test Test Core->Test Prod Prod Core->Prod Local Local Dev->Local Actual Loaded Config Local->Actual

Then if you switch to test you're using a totally different set of resources:

Tree External External System System External->System Core Core System->Core Dev Dev Core->Dev Test Test Core->Test Prod Prod Core->Prod Local Local Test->Local Actual Loaded Config Local->Actual

And if you started your gateway without a deployment mode, all your modes are ignored:

Tree External External System System External->System Core Core System->Core Dev Dev Core->Dev Test Test Core->Test Prod Prod Core->Prod Local Local Core->Local Actual Loaded Config Local->Actual
1 Like