Skip to content

Fix ServiceCollectionExtensions.AddDurableTaskClient#490

Merged
sophiatev merged 3 commits into
mainfrom
stevosyan/fix-414
Oct 30, 2025
Merged

Fix ServiceCollectionExtensions.AddDurableTaskClient#490
sophiatev merged 3 commits into
mainfrom
stevosyan/fix-414

Conversation

@sophiatev

Copy link
Copy Markdown
Contributor

Changes the public static IDurableTaskClientBuilder AddDurableTaskClient(this IServiceCollection services, string? name = null) method to also add a singleton IDurableTaskClientProvider to the services, as the other methods in the class do. Also adds a unit test for this case and another unit test for null checks.

Fixes #414

@sophiatev
sophiatev merged commit aef6a93 into main Oct 30, 2025
4 of 5 checks passed
@sophiatev
sophiatev deleted the stevosyan/fix-414 branch October 30, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AddDurableTaskClient(IServiceCollection, string?) does not register IDurableTaskClientProvider

2 participants