Skip to content

Commit

Permalink
fix missed codec in entry
Browse files Browse the repository at this point in the history
  • Loading branch information
0xF6 committed Nov 24, 2024
1 parent 2579c5e commit fc3a7e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Argon.Entry/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using ActualLab.Fusion;
using ActualLab.Rpc;
using ActualLab.Rpc.Server;
using ActualLab.Serialization;
using Argon.Api;
using Argon.Api.Controllers;
using Argon.Api.Entities;
Expand Down Expand Up @@ -36,9 +37,8 @@
.AddServer<IServerInteraction, ServerInteraction>()
.AddServer<IEventBus, EventBusService>();
builder.AddSwaggerWithAuthHeader();
builder.Services.AddSerializer(x => {
x.AddMemoryPackSerializer();
}).AddOrleansClient(x => {
builder.Services.AddSerializer(x => x.AddMessagePackSerializer(null, null, MessagePackByteSerializer.Default.Options))
.AddOrleansClient(x => {
x.Configure<ClusterOptions>(builder.Configuration.GetSection("Orleans")).AddStreaming();
if (builder.Environment.IsProduction())
x.UseKubeGatewayListProvider();
Expand Down

0 comments on commit fc3a7e0

Please sign in to comment.