Kristian Hellang

Results 237 comments of Kristian Hellang

Ah, after a second pass, I noticed https://github.com/microsoftgraph/msgraph-metadata/issues/128. I guess that answers my second question 😅

I'm not sure this is the right issue to piggy-back, but here it goes... Let me know if this deserves a separate issue, or if it should be moved to...

We're seeing this as well. @Jonne given a substantial amount of time has gone by - did you find a way to work around it?

Also, is this related to https://github.com/pulumi/pulumi/issues/9593?

It's really hard to tell what's wrong here, especially since the code posted doesn't even compile. Do you have any more details on the registered services? Preferably a runnable repro?

Thanks for hanging in there, @Mike-E-angelo 😅🙏🏻 Happy holidays to you too! 🎅🏻

Hmm. That's weird. It would be interesting to see what the contents of `builder.Services` looks like in the following spots: ```csharp builder.Services.AddEndpointsApiExplorer(); builder.Services.AddSwaggerGen(); < -- here -- > builder.Services.AddScoped(); builder.Services.Decorate();...

Ok, so apparenly ApplicationInsights has an internal method called `AddSingletonIfNotExists`, which doesn't support keyed services, which Scrutor leverages for decoration from 5.0.0. This results in a `NullReferenceException`, which ends up...

Thanks for the bug report! Looks like it comes from deep within the container code. Need to dig a bit here 😅