Define common CRUD trait for database operations #40

Open
opened 2021-09-15 12:01:06 +02:00 by Jef Roosens · 1 comment
Owner

It's clear that the database section contains a lot of nearly identical boilerplate code. It might be useful to define a generic trait that implements the most commonly used CRUD operations we use (e.g. all, create, update...). This would save us a lot of time & allow us to learn a lot more about traits and how they work.

It's clear that the database section contains a lot of nearly identical boilerplate code. It might be useful to define a generic trait that implements the most commonly used CRUD operations we use (e.g. all, create, update...). This would save us a lot of time & allow us to learn a lot more about traits and how they work.
Jef Roosens added the
Idea
Backend
labels 2021-09-15 12:01:06 +02:00
Author
Owner

We could maybe even use a procedural macro if we're being really fancy.

We could maybe even use a procedural macro if we're being really fancy.
This repository is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Chewing_Bever/rusty-bever#40
No description provided.