Use a cargo workspace for better modularity

Currently, there is only a `gateway` crate, but in the future,
likely more will be added to handle db stuff, abstractions, etc once
I actually start implementing the city portal logic itself.
This commit is contained in:
Zeph Levy 2025-10-19 14:43:18 +02:00
parent b2384d2e76
commit 4faedce5c6
8 changed files with 157 additions and 214 deletions

View file

@ -1,8 +0,0 @@
use crate::resolvers::QueryRoot;
use async_graphql::{EmptyMutation, EmptySubscription, Schema};
pub type AppSchema = Schema<QueryRoot, EmptyMutation, EmptySubscription>;
pub fn build_schema() -> AppSchema {
Schema::build(QueryRoot, EmptyMutation, EmptySubscription).finish()
}