progress-pile/progress-pile-server/src/graphql/query.rs
2025-05-13 15:35:24 +09:00

22 lines
No EOL
404 B
Rust

use async_graphql::{
*,
http::GraphiQLSource,
};
use axum::{
response::{Html, IntoResponse},
routing::get,
Router,
};
use crate::{entity::{UserEntity, UserModel},};
pub struct Query;
#[Object]
impl Query {
pub async fn user(&self, user_name: String) -> Result<Option<String>> {
todo!()
}
pub async fn users(&self) -> Result<Vec<String>> {
todo!()
}
}