remove rolle mutation file

This commit is contained in:
2026-05-28 21:40:27 +02:00
parent 6810196226
commit c73297bf22

View File

@@ -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<Rolle> {
let pool = ctx.data::<PgPool>()?;
todo!();
// let row = Rolle::create(pool, &input).await?;
// Ok(row)
}
// async fn update_rollen(
// &self,
// ctx: &Context<'_>,
// input: RolleUpdateInput,
// ) -> FieldResult<Rolle> {
// let pool = ctx.data::<PgPool>()?;
// let row = Rolle::update(pool, &input).await?;
// Ok(row)
// }
//
// async fn delete_rollen(&self, ctx: &Context<'_>, id: i32) -> FieldResult<bool> {
// let pool = ctx.data::<PgPool>()?;
// Ok(Rolle::delete(pool, &id).await?)
// }
}