What is the culprit? Singleton failure with WebApplicationFactory
When I debug the following code I found SqliteConnection
that I registered with singleton lifetime is not singleton when resolved from within AddDbContext
after execution reaches GetAsync("")
.