From b1a0e96c9a855a1a28f3683dd94d93034b123ac6 Mon Sep 17 00:00:00 2001 From: Peter Holloway Date: Mon, 9 Dec 2024 13:27:17 +0000 Subject: [PATCH] Patch another breaking change in a graphql patch release async-graphql 7.0.12 added a new field to the MetaType::Scalar variant. Add this field and bump the dependency to the new verrsion. --- Cargo.toml | 4 ++-- src/graphql.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e30787b7..63b3950a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ license = "Apache-2.0" unwrap_used = "deny" [dependencies] -async-graphql = { version = "7.0.11", features = ["tracing"] } -async-graphql-axum = "7.0.11" +async-graphql = { version = "7.0.12", features = ["tracing"] } +async-graphql-axum = "7.0.12" axum = "0.7.5" chrono = "0.4.38" clap = { version = "4.5.16", features = ["cargo", "derive", "env"] } diff --git a/src/graphql.rs b/src/graphql.rs index 0f858bc4..0f8fb0b4 100644 --- a/src/graphql.rs +++ b/src/graphql.rs @@ -388,6 +388,7 @@ where inaccessible: false, tags: vec![], specified_by_url: None, + directive_invocations: vec![], }) }