Skip to content

Commit

Permalink
close #179 - issue was caused by scopes not being created (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb authored Jan 5, 2023
1 parent 5886f8a commit 05d9fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Examples/Akka.Hosting.SimpleDemo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static void Main(params string[] args)
{
var builder = WebApplication.CreateBuilder(args);

builder.Services.AddScoped<IReplyGenerator, DefaultReplyGenerator>();
builder.Services.AddTransient<IReplyGenerator, DefaultReplyGenerator>();
builder.Services.AddAkka("MyActorSystem", configurationBuilder =>
{
configurationBuilder
Expand Down

0 comments on commit 05d9fa7

Please sign in to comment.