Merge "Automatically inherit common properties."
This commit is contained in:
commit
d28f688e69
1 changed files with 2 additions and 1 deletions
|
@ -243,7 +243,8 @@ func (t *topDownMutatorContext) Rename(name string) {
|
|||
}
|
||||
|
||||
func (t *topDownMutatorContext) CreateModule(factory blueprint.ModuleFactory, props ...interface{}) {
|
||||
t.bp.CreateModule(factory, props...)
|
||||
common := []interface{}{&t.Module().base().commonProperties}
|
||||
t.bp.CreateModule(factory, append(common, props...)...)
|
||||
}
|
||||
|
||||
func (b *bottomUpMutatorContext) MutatorName() string {
|
||||
|
|
Loading…
Reference in a new issue