Skip to content

About dependency injection #31

@yueyinqiu

Description

@yueyinqiu

The database factory should be a scoped service since IJSProcess is scoped. The current way we register it will cause an error for blazor server. And in theory it should be disposable and should also close the connections when disposed.

And maybe the db store should be a singleton instead, since it does not change between scopes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions