From 68119ba4de4b122eee3c0cd1feb8d9297385dd74 Mon Sep 17 00:00:00 2001 From: Mika Bomm Date: Mon, 23 Jun 2025 11:24:33 +0200 Subject: [PATCH] add TODO for moving the struct into the controller --- crates/backend/src/db/project.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/backend/src/db/project.rs b/crates/backend/src/db/project.rs index e5c453e..e609831 100644 --- a/crates/backend/src/db/project.rs +++ b/crates/backend/src/db/project.rs @@ -10,6 +10,7 @@ use utoipa::ToSchema; use uuid::Uuid; use validator::Validate; +// TODO: Move the struct out of here into the controller #[derive(Deserialize, Validate, ToSchema)] pub struct CreateProject { #[validate(length(min = 3, max = 255))]