Kristian Hellang
Kristian Hellang
> Does Scrutor really support open generics? Absolutely, there a lots of tests in this repo showing that it works π
Hi @bhehe! π Unfortunately I don't think there's a good way to accomplish this today, but I'd be happy to take a PR for your proposed overload βΊοΈ
I'm not sure this is the right library for this. The library is designed in a specific way, which wouldn't match what you're trying to do here: 1. Select assemblies...
Hmm. That's a very good point! π€¦ββοΈ The intention was to map directly to the `Assembly` methods, but I guess `FromCallingAssembly` doesn't make much sense as that would always be...
Hmm. There's definitely something weird going on here. I've made the following test app: ```csharp using LibraryA; using LibraryB; using System; using System.Reflection; // In App.dll namespace App { public...
I think the reason why `FromCallingAssembly` might produce different results in different circumstances is due to (lack of) inlining: > If the method that calls the `GetCallingAssembly` method is expanded...
> unless there's some way to walk the assembly call stack at runtime (ew). Yeah, at that point it's much better to just pass the returned assembly from `GetCallingAssembly` directly.
Maybe, but it would be a breaking change π
Hi @woodylaurence! π That's a really strange error as those types should definitely be assignable. I'm finding traces of this being a functions bug, e.g. https://github.com/Azure/Azure-Functions/issues/2156, could it be something...
There's also https://github.com/Azure/azure-functions-dotnet-extensions/issues/55, which looks similar.