Always interpret closures as factories #487
When a factory is at the root of the definition array, it is automatically interpreted as a factory (
However it's not the case if the closure is in an array or an object parameter.
We could simplify the behavior and always consider a closure as a factory. If a user wants to really inject a closure,
The text was updated successfully, but these errors were encountered: