We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ce7509 + a737e22 commit 1db7215Copy full SHA for 1db7215
default_serviceprovider_factory.go
@@ -13,7 +13,7 @@ func (sc ServiceCollection) Build() IServiceProvider {
13
}
14
//prototype is create a new instance on each call.
15
if desc.Lifetime != Singleton {
16
- //providerOptions = append(providerOptions)
+ providerOptions = append(providerOptions, Prototype())
17
18
19
provider := Provide(desc.Provider, providerOptions...)
0 commit comments