AutoMapper / AutoMapper.Extensions.ExpressionMapping

MIT License
143 stars 39 forks source link

Issue using with Blazor Server #114

Closed cornonthecobb closed 3 years ago

cornonthecobb commented 3 years ago

Im curious if you have tested this library with Blazor server side. I run into issues using crud services in components where a crud service will return an error that gets handled correctly and added to the IStatusGeneric collection. I correct the error and resubmit but the same error is still present. I suspect this is likely due to how the dbcontext/crudservice is scoped to the lifetime of the component. I was curious if you have a way or were looking into using IDbContextFactory as a possible enhancement or addition to the code base.