add TODO for moving the struct into the controller

This commit is contained in:
Mika Bomm 2025-06-23 11:24:33 +02:00
parent 3f2a3efa16
commit 68119ba4de

View file

@ -10,6 +10,7 @@ use utoipa::ToSchema;
use uuid::Uuid; use uuid::Uuid;
use validator::Validate; use validator::Validate;
// TODO: Move the struct out of here into the controller
#[derive(Deserialize, Validate, ToSchema)] #[derive(Deserialize, Validate, ToSchema)]
pub struct CreateProject { pub struct CreateProject {
#[validate(length(min = 3, max = 255))] #[validate(length(min = 3, max = 255))]