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

Support multiple handlers of the same kind #15

Closed
lemonsaurus opened this issue Jan 7, 2021 · 0 comments
Closed

Support multiple handlers of the same kind #15

lemonsaurus opened this issue Jan 7, 2021 · 0 comments
Labels
area: databases priority: low status: stalled Something is blocking further progress
Milestone

Comments

@lemonsaurus
Copy link
Owner

Right now, we can only support one of each handler type - but what if you have two postgres databases in completely different places?

Let's find some way to dynamically instantiate one handler per connstring. For example, we could move the connstring parser out of the mixin, and then instantiate the handler with a factory method where we pass in the connstring. This would probably be tidier and less magical, anyway.

@lemonsaurus lemonsaurus changed the title Support multiple databases of the same kind Support multiple handlers of the same kind Jan 7, 2021
@lemonsaurus lemonsaurus added this to the v1.1 milestone Jan 7, 2021
@lemonsaurus lemonsaurus added area: databases priority: low status: stalled Something is blocking further progress labels Jan 7, 2021
@lemonsaurus lemonsaurus modified the milestones: v2.1.0, v2.0.0 Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: databases priority: low status: stalled Something is blocking further progress
Projects
None yet
Development

No branches or pull requests

1 participant