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.51k stars 290 forks source link

Expose middleware properties in activity/orchestrator #963

Open twsouthwick opened 1 year ago

twsouthwick commented 1 year ago

The properties bag from DispatchMiddlewareContext contains information that might be useful from activities/orchestrators. However, they currently do not show up from those context options. This change plumbs the dictionary through and surfaces it for both activities and orchestrators.

As part of this, the following changes are introduced to show a use case for sharing properties:

If it would be easier to have just the properties change, I can separate the serializer change out.

davidmrdavid commented 1 year ago

/azp run

azure-pipelines[bot] commented 1 year ago
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.