Skip to content

IndexedDBSyncRepository can not support multiple repositories in a single database. #3

Description

@JamesIlling

when I attempt to use 3 IndexedDBSyncRepository classes all working on the same database then I get

...
blazor.webassembly.js:1 System.ArgumentException: An item with the same key has already been added. Key:
...
which is occuring in BazorDB.BlazorDbFactory.GetDbManager(String dbName)

This looks to be related to the way we are getting and setting up the Indexed DB manager,

is there a way to support multiple repos accessing the same index db or is it necessary to run multiple dbs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions