Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Associate the DatabaseRoot with the scoped options instance and not the singleton options. #34477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 20, 2024

  1. Associate the DatabaseRoot with the scoped options instance and not t…

    …he singleton options.
    
    - Remove the DatabaseRoot from the InMemoryOptionsExtension service provider equality condition.
    - Remove the DatabaseRoot from the InMemorySingletonOptions.
    - Resolve the IInMemoryStore in a scoped service (IInMemoryStoreProvider) instead of a singleton service (IInMemoryStoreCache).
    - Fall back to the DatabaseRoot stored in a singleton service (IInMemoryDatabaseRootCache) if the options does not specify one.
    
    Fixes dotnet#34476
    koenigst committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    7020187 View commit details
    Browse the repository at this point in the history