diff --git a/CHANGELOG.md b/CHANGELOG.md index 4370e8a..7c0f656 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - `nakago-ws` - Handlers now accept a new Token type, which contains the JWT string and the Registered Claims for use in more complex authorization scenarios. +- `nakago-async-graphql` - Update `nakago-axum` ## [0.23.0] diff --git a/examples/async-graphql/Cargo.toml b/examples/async-graphql/Cargo.toml index 74b3e7f..02e14a9 100644 --- a/examples/async-graphql/Cargo.toml +++ b/examples/async-graphql/Cargo.toml @@ -34,7 +34,7 @@ figment = { version = "0.10", features = ["env", "toml", "yaml", "json"] } futures = "0.3" hyper = "1.0" log = "0.4" -nakago-async-graphql = "0.23" +nakago-async-graphql = "0.24" nakago-axum = "0.24" nakago-derive = "0.23" nakago-figment = "0.23" diff --git a/examples/async-graphql/src/events/handler.rs b/examples/async-graphql/src/events/handler.rs index 328f852..f1ae451 100644 --- a/examples/async-graphql/src/events/handler.rs +++ b/examples/async-graphql/src/events/handler.rs @@ -71,6 +71,8 @@ impl Provider>> for Provide { let connections = i.get::>().await?; let users = i.get::>().await?; - Ok(Arc::new(Box::new(Handler { connections, users }))) + let temp = Box::new(Handler { connections, users }); + + Ok(Arc::new(temp)) } } diff --git a/nakago_async_graphql/Cargo.toml b/nakago_async_graphql/Cargo.toml index 2262ba5..99b7878 100644 --- a/nakago_async_graphql/Cargo.toml +++ b/nakago_async_graphql/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nakago-async-graphql" -version = "0.23.0" +version = "0.24.0" description = "An Async-GraphQL integration for Nakago" documentation = "https://docs.rs/nakago-async-graphql/" license.workspace = true