riskfirst / riskfirst.hateoas

Powerful HATEOAS functionality for .NET web api
MIT License
78 stars 25 forks source link

DependencyContext.Default is null #40

Open cloudn9 opened 3 years ago

cloudn9 commented 3 years ago

Hello, has anyone used the package with Autofaq ? It seems the dependecy context is null in that case. The issue is happening when the package is called from another dll project. I will provide more information, in case needed.

p.s. returning a new empty list here

internal class DefaultAssemblyLoader : IAssemblyLoader { public IEnumerable<Assembly> GetAssemblies() {

should do the work (I think).