Closed HampusMat closed 1 year ago
The traits IDIContainer and IAsyncDIContainer should be removed. They were created so that DIContainer and AsyncDIContainer can be mocked but it's much more ergonomic to just replace the whole struct. I don't know why i didn't do it that way.
IDIContainer
IAsyncDIContainer
DIContainer
AsyncDIContainer
It doesn't work when structs which uses a DI container sometimes should get a mocked version and sometimes not
The traits
IDIContainer
andIAsyncDIContainer
should be removed. They were created so thatDIContainer
andAsyncDIContainer
can be mocked but it's much more ergonomic to just replace the whole struct. I don't know why i didn't do it that way.