From 5453308c9394b7f33633912802a36c8c0e577809 Mon Sep 17 00:00:00 2001 From: Sebastian Burckhardt Date: Tue, 28 Nov 2023 13:38:23 -0800 Subject: [PATCH] Fix deserialization for isolated entities (#2686) * pass missing argument when running an entity batch request * add release notes --- release_notes.md | 2 ++ src/Worker.Extensions.DurableTask/TaskEntityDispatcher.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/release_notes.md b/release_notes.md index 5d4942399..8495bd373 100644 --- a/release_notes.md +++ b/release_notes.md @@ -6,6 +6,8 @@ ### Bug Fixes +- Fix issue with isolated entities: custom deserialization was not working because IServices was not passed along + ### Breaking Changes ### Dependency Updates diff --git a/src/Worker.Extensions.DurableTask/TaskEntityDispatcher.cs b/src/Worker.Extensions.DurableTask/TaskEntityDispatcher.cs index 1fe449c23..952de32b2 100644 --- a/src/Worker.Extensions.DurableTask/TaskEntityDispatcher.cs +++ b/src/Worker.Extensions.DurableTask/TaskEntityDispatcher.cs @@ -40,7 +40,7 @@ public async Task DispatchAsync(ITaskEntity entity) throw new ArgumentNullException(nameof(entity)); } - this.Result = await GrpcEntityRunner.LoadAndRunAsync(this.request, entity); + this.Result = await GrpcEntityRunner.LoadAndRunAsync(this.request, entity, this.services); } ///