Azure / Azure/azure-functions-host

Microsoft.Azure.WebJobs.Script.WebHost.DependencyInjection.JobHostServiceProvider.GetRequiredService returns null;

Open
#7,539 14 comments 0 reactions 2 assignees Claimed by @v-bbalaiagar View on GitHub
breaking-change bug pending-design
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

Using seviceProvider.GetRequiredService that supports ISupportRequiredService that is Microsoft.Azure.WebJobs.Script.WebHost.DependencyInjection.JobHostServiceProvide returns a null on a interface that is not registered in the serviceProvider.

i'm using 3.1.16 of the microsoft.extensions.dependecyinjection package.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.