Skip to content

Commit 8db3603

Browse files
implement conversion to new protobuf-based entity-related orchestration history events, as used by DTS, and enable entities by default when using DTS backend.
1 parent e9b42f9 commit 8db3603

File tree

8 files changed

+798
-40
lines changed

8 files changed

+798
-40
lines changed

src/Client/AzureManaged/DurableTaskSchedulerClientExtensions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ static void ConfigureSchedulerOptions(
8585
.Configure(additionalConfig ?? (_ => { }))
8686
.ValidateDataAnnotations();
8787

88+
builder.Services.AddOptions<DurableTaskClientOptions>(builder.Name)
89+
.Configure(options =>
90+
{
91+
options.EnableEntitySupport = true;
92+
});
93+
8894
builder.Services.TryAddEnumerable(
8995
ServiceDescriptor.Singleton<IConfigureOptions<GrpcDurableTaskClientOptions>, ConfigureGrpcChannel>());
9096
builder.UseGrpc(_ => { });

0 commit comments

Comments
 (0)