-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with referencing one scoped service in another #19
Comments
Just to explain more, my work around right now is like this:
And it works fine. |
Any news on this one? |
I mean this is pretty serious. Couldn't quite believe my eyes that I had I'm amazed it worked this far (about 4.5 weeks development), but now we have a mixed bag of integration tests against 😭 😭 😭 Update: Appears to being tracked at: Azure/azure-functions-host#3399 |
I have a Entity framework DatabaseContext that I like to add also as my DatabaseContextBase.
DatabaseContext inherits from DatabaseContextBase and DatabaseContextBase inherits from DbContext.
Here is how I've tried it:
In startup:
Then in the function I use those 2:
The first one works fine but the second one fails with this exception:
The text was updated successfully, but these errors were encountered: