Azure / azure-functions-durable-extension

Durable Task Framework extension for Azure Functions
MIT License
711 stars 263 forks source link

No DurableClientFactory in the nuget packages for the isolated process worker model #2736

Open KarlWindhager opened 5 months ago

KarlWindhager commented 5 months ago

Description

In in-process functions I can inject a DurableClientFactory to start durable functions, using the extension method AddDurableClientFactory(...) from the Microsoft.Azure.WebJobs.Extensions.DurableTask package.

There is no proper DurableClientFactory equivalent in isolated functions, i.e. the Microsoft.Azure.Functions.Worker.Extensions.DurableTask package to do that,

The only way is to use method injection, with the isolated worker model, which is not sufficient.

Expected behavior

A DurableClientFactory (or similar) exists in the package above. The documentation is updated.

Actual behavior

It is missing in the package and/or missing documentation.

Relevant source code snippets

// insert code snippet here

Known workarounds

Provide a description of any known workarounds you used.

App Details

Screenshots

If applicable, add screenshots to help explain your problem.