AspNetCore.Diagnostics.HealthChecks icon indicating copy to clipboard operation
AspNetCore.Diagnostics.HealthChecks copied to clipboard

RavenDB: Get IDocumentStore from DI if available

Open georgiosd opened this issue 3 months ago • 0 comments

What would you like to be added:

For RavenDB:

  • Look up IDocumentStore in DI before constructing your own
  • Since construction also requires options, provide an overload without options

Why is this needed:

Document store initialization is costly and providing options for apps that already configure RavenDB on their own is cumbersome.

georgiosd avatar Sep 22 '25 13:09 georgiosd