Skip to content

RavenDB: Get IDocumentStore from DI if available #2436

@georgiosd

Description

@georgiosd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions