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

Add checks for entity support #1047

Closed sebastianburckhardt closed 4 months ago

sebastianburckhardt commented 4 months ago

As reported by microsoft/durabletask-dotnet#246, there is currently not always a descriptive error message when using a backend that does not support entities.

This PR adds checks to throw an exception if entity-features are used from within an orchestrator while using a backend that does not support entities. Such exceptions are thrown on the orchestrator thread, which should then cause the orchestrator to fail and log or otherwise propagate the error message.