Andrew White
Andrew White
This is a great PR. I hope the maintainer will be able to review and include it.
@richardbartley I appreciate you bringing this up. I don't have a good answer at the moment and haven't gotten into `DbContextFactory` much myself -- I realize its important in Blazor...
@jeremysimmons in this case I recommend emulating what the middleware does. Assuming you are using DI with the hosted service and configure the library normally you can use this logic...
I'm sorry for the late reply. Do you have a sample project I can take a look at to see the issue closer? I have to admit I don't normally...
hi @Rockstar1989 Would an approach like this work for you? this is from the Identity sample that loops through the tenants to run migrations but could also work for general...
Great, I'm going to close the issue but don't hesitate to reopen if needed.
hi @Bouke There is currently interest in improving null reference behavior in the library and making use of null reference types from C#8. Issue #487 is the most recent item...
@fossbrandon I agree with your thoughts there. I might reconsider for a future major version breaking release but for the initial changeover I prefer to preserve current behavior while being...
@Bouke I agree with you that both as nullable is annoying -- I think for the next major release I'll have `MultiTenantContext` be non-nullable. No set timeframe for that yet...
Yeah I know, sorry. By the way I am planning for a major release later this year where `MultiTenantContext` will never be null which I think will be a friendlier...