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

Connection urls #28

Open
d-r-q opened this issue Oct 27, 2019 · 0 comments
Open

Connection urls #28

d-r-q opened this issue Oct 27, 2019 · 0 comments
Labels
api choose Issues, where there are several alternatives to consider and choose enhancement good first issue
Milestone

Comments

@d-r-q
Copy link
Owner

d-r-q commented Oct 27, 2019

Actual behavior: user should manually instantiate storage and pass it to qbit

To decouple user from implementation implement qbit connection factory function that accepts string parameter (kind of "qbit:fs://tmp/qbit/mydb") and internally creates corresponding instance of storage.

Implementation should also provide Storage implementation registration end point, so user, who implemented custom Storage may register it.

This feature requires some way to automatically discover service providers and I'm not sure it may be implemented on Native and JS platforms.

@d-r-q d-r-q added enhancement good first issue choose Issues, where there are several alternatives to consider and choose api labels Oct 27, 2019
@d-r-q d-r-q added this to the Local DB milestone Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api choose Issues, where there are several alternatives to consider and choose enhancement good first issue
Projects
None yet
Development

No branches or pull requests

1 participant