Skip to content

Commit

Permalink
Fix deserialization for isolated entities (#2686)
Browse files Browse the repository at this point in the history
* pass missing argument when running an entity batch request

* add release notes
  • Loading branch information
sebastianburckhardt authored Nov 28, 2023
1 parent edb6648 commit 5453308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Worker.Extensions.DurableTask/TaskEntityDispatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/// <summary>
Expand Down

0 comments on commit 5453308

Please sign in to comment.