Plenty of GraphQL query implementation

Implement query for languages, words, initial implementation for user
query
This commit is contained in:
2023-01-04 22:16:48 +01:00
parent c0b0a53061
commit ecd8f58542
6 changed files with 454 additions and 43 deletions

View File

@@ -60,7 +60,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
#[allow(clippy::let_underscore_drop, clippy::no_effect_underscore_binding)]
let _ = rocket::build()
.attach(cors)
.manage(db::Database::new())
.manage(db::Database::default())
.manage(create_schema())
.mount(
"/",