Migrate database callers into voting-app-store #16
Labels
No labels
backend
beginner friendly
frontend
size/extra-large
size/large
size/medium
size/small
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/tartan-vote#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
Handlers are inconsistent: some use
voting-app-store, while others call the database directly inline. This splits logic between the store crate and the handlers.Tasks
voting-app-storemethods.Files:
domain/andvoting-app-storeYour commits should be structured as { adding a function in voting-app-store, changing handler calls }. It's ok to make multiple different function changes in one commit, just make sure it doesn't get too big (probably limit them to one file or type of function at a time).