microsoft / microsoft/durabletask-dotnet
Allow dependency injection in orchestrations
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 193
- Forks
- 60
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 4
Description
DurableTaskRegistry allows DI in activities but not in orchestrations. This doesn't seem like a technical limitation, as the internal Orchestrators dictionary uses a delegate that accepts IServiceProvider. Would it be possible to fix this gap by adding overloads to the registry class?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the DurableTaskRegistry implementation and inspect its activity DI overloads alongside the internal Orchestrators dictionary delegate. Trace how orchestration registrations are invoked and identify the existing tests covering registry registration. Done means orchestration registrations offer the requested overloads and the relevant tests verify IServiceProvider access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100