update juniper to 0.17 but fr this time
All checks were successful
Build and Test / account (push) Successful in 7m27s

This commit is contained in:
SolidStateDrive 2026-04-28 23:13:33 +02:00
commit 751168154f
5 changed files with 29 additions and 311 deletions

View file

@ -30,7 +30,6 @@ impl<'r> FromRequest<'r> for Context {
}
pub type Schema = RootNode<
'static,
Query,
EmptyMutation<Context>,
EmptySubscription<Context>
@ -220,7 +219,7 @@ pub async fn get_graphql(
schema: &State<Schema>,
context: Context
) -> juniper_rocket::GraphQLResponse {
request.execute(schema, &context).await
request.execute(schema.inner(), &context).await
}
#[rocket::post("/graphql", data = "<request>")]
@ -229,5 +228,5 @@ pub async fn post_graphql(
schema: &State<Schema>,
context: Context
) -> juniper_rocket::GraphQLResponse {
request.execute(schema, &context).await
request.execute(schema.inner(), &context).await
}