Azure / durabletask

Durable Task Framework allows users to write long running persistent workflows in C# using the async/await capabilities.
Apache License 2.0
1.47k stars 287 forks source link

fix NullReferenceException on backends that do not implement IEntityOrchestrationService #989

Closed sebastianburckhardt closed 8 months ago

sebastianburckhardt commented 8 months ago

Observed NullReferenceException when using durabletask with a backend that does not support entities, even if not using entities at all.

The reason is a missing '?' in the check that determines whether to use the old or new entity dispatch design.

The fix is to add the missing '?'.