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

Repository Pattern #33

Open
gzt5142 opened this issue Apr 20, 2023 · 0 comments
Open

Repository Pattern #33

gzt5142 opened this issue Apr 20, 2023 · 0 comments

Comments

@gzt5142
Copy link
Owner

gzt5142 commented Apr 20, 2023

Exploring the notion that we should take the list of sources as a JSON, TSV, or other source rather than the relational database.

Refactor to use a repo pattern where the source can be plugged in... making the main business logic adapt to an interface rather than a db-specific implementation.

Initial testing successful -- and it has the side benefit of moving some source-specific functions into the object itself (because it's not tied to the ORM).

Proof-of-concept is done; refactor CLI to make use of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant