progress-pile/progress-pile-server/src/graphql/query.rs

22 lines
404 B
Rust
Raw Normal View History

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