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.
1 parent 86d3531 commit a737e22Copy full SHA for a737e22
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