From c73297bf22f792debf9bb2914c415cd5100449ae Mon Sep 17 00:00:00 2001 From: Peter Date: Thu, 28 May 2026 21:40:27 +0200 Subject: [PATCH] remove rolle mutation file --- src/domain/rolle/mutation.rs | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 src/domain/rolle/mutation.rs diff --git a/src/domain/rolle/mutation.rs b/src/domain/rolle/mutation.rs deleted file mode 100644 index b497a47..0000000 --- a/src/domain/rolle/mutation.rs +++ /dev/null @@ -1,35 +0,0 @@ -use super::model::*; -use async_graphql::{Context, FieldResult}; -use sqlx::postgres::PgPool; - -#[derive(Default)] -pub struct RolleMutation; - -#[async_graphql::Object] -impl RolleMutation { - async fn create_rollen( - &self, - ctx: &Context<'_>, - input: RolleCreateInput, - ) -> FieldResult { - let pool = ctx.data::()?; - todo!(); - // let row = Rolle::create(pool, &input).await?; - // Ok(row) - } - - // async fn update_rollen( - // &self, - // ctx: &Context<'_>, - // input: RolleUpdateInput, - // ) -> FieldResult { - // let pool = ctx.data::()?; - // let row = Rolle::update(pool, &input).await?; - // Ok(row) - // } - // - // async fn delete_rollen(&self, ctx: &Context<'_>, id: i32) -> FieldResult { - // let pool = ctx.data::()?; - // Ok(Rolle::delete(pool, &id).await?) - // } -}