Skip to content

Commit

Permalink
Setup(Mediator): Integrate Mediator into the project
Browse files Browse the repository at this point in the history
  • Loading branch information
ktutak1337 committed Mar 30, 2024
1 parent 0ef449a commit c312ac3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Shared/StellarChat.Shared.Infrastructure/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public static WebApplicationBuilder AddSharedInfrastructure(this WebApplicationB
.AddCorsPolicy(builder.Configuration)
.AddMongo(builder.Configuration)
.RegisterEndpoints(builder.Configuration)
.AddSemanticKernel(builder.Configuration);
.AddSemanticKernel(builder.Configuration)
.AddMediator();

return builder;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Mediator.Abstractions" Version="3.0.0-preview.24" />
<PackageReference Include="Mediator.SourceGenerator" Version="3.0.0-preview.24">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SemanticKernel" Version="1.6.3" />
<PackageReference Include="MongoDB.Driver" Version="2.24.0" />
<PackageReference Include="Serilog" Version="4.0.0-dev-02113" />
Expand Down

0 comments on commit c312ac3

Please sign in to comment.