diff --git a/como_api/src/controllers/graphql.rs b/como_api/src/controllers/graphql.rs index e2f897a..e790d1a 100644 --- a/como_api/src/controllers/graphql.rs +++ b/como_api/src/controllers/graphql.rs @@ -1,17 +1,11 @@ use super::auth::UserFromSession; -use crate::{router::AppState}; +use crate::router::AppState; use async_graphql::http::{playground_source, GraphQLPlaygroundConfig}; use async_graphql::{EmptySubscription, Schema}; use async_graphql_axum::{GraphQLRequest, GraphQLResponse}; use axum::response::Html; -use axum::{ - http::{StatusCode}, - response::{IntoResponse}, - routing::get, - Extension, Router, -}; - +use axum::{http::StatusCode, response::IntoResponse, routing::get, Extension, Router}; use como_gql::graphql::{ComoSchema, MutationRoot, QueryRoot}; use como_infrastructure::register::ServiceRegister; diff --git a/como_domain/src/projects/mod.rs b/como_domain/src/projects/mod.rs index daec4e4..23692a7 100644 --- a/como_domain/src/projects/mod.rs +++ b/como_domain/src/projects/mod.rs @@ -10,4 +10,5 @@ use uuid::Uuid; pub struct ProjectDto { pub id: Uuid, pub name: String, + pub description: Option, } diff --git a/como_gql/src/lib.rs b/como_gql/src/lib.rs index 8f093c4..fff31a7 100644 --- a/como_gql/src/lib.rs +++ b/como_gql/src/lib.rs @@ -1,5 +1,3 @@ - - pub mod graphql; mod items; mod projects;