How to inherit settings between containers
Containers can inherit settings from another container. Using inheritance is a general best practice but is especially useful in larger setups where variants of similar containers exist.
Setup
adk.config()
.addContainer('super-container', adk.container.config()
.provider('adk.hello')
.label('Super container label')
.params({
// Hello Provider specific params
color: 'blue',
}))
.addContainer('sub-container', adk.container.config()
.extends('super-container')
.params({
color: 'red',
}))
.apply()
.init(publisherId)
Result