Closed dalewking closed 2 years ago
The function:
public fun addExtend(di: DI, allowOverride: Boolean = false): Unit = addConfig { extend(di, allowOverride) }
is a nice shortcut, but it doesn't allow you to use if if you need to pass the copy parameter to extend.
A third parameter should be added for copy that defaults to the current behavior, i.e.
public fun addExtend(di: DI, allowOverride: Boolean = false, copy: Copy = Copy.NonCached): Unit = addConfig { extend(di, allowOverride, copy) }
The function:
is a nice shortcut, but it doesn't allow you to use if if you need to pass the copy parameter to extend.
A third parameter should be added for copy that defaults to the current behavior, i.e.