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 74d4e14 commit 80b6996Copy full SHA for 80b6996
src/AutoMapper.DI.Tests/ScopeTests.cs
@@ -60,7 +60,7 @@ public void Can_depend_on_scoped_services_as_scoped()
60
public void Cannot_correctly_resolve_scoped_services_as_singleton()
61
{
62
var services = new ServiceCollection();
63
- services.AddSingleaton<ILoggerFactory>(NullLoggerFactory.Instance);
+ services.AddSingleton<ILoggerFactory>(NullLoggerFactory.Instance);
64
services.AddAutoMapper(_ => { }, [typeof(Source).Assembly], ServiceLifetime.Singleton);
65
services.AddScoped<ISomeService, MutableService>();
66
0 commit comments