From 95890a660b5df536cfa597e0704ed8c62fb82172 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Thu, 3 Aug 2023 17:03:17 +0200 Subject: [PATCH] mas-graphql: post-`async-graphql` upgrade fixes --- crates/graphql/src/model/mod.rs | 2 +- crates/graphql/src/model/node.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/graphql/src/model/mod.rs b/crates/graphql/src/model/mod.rs index 9e01aaf4..7ebec1fd 100644 --- a/crates/graphql/src/model/mod.rs +++ b/crates/graphql/src/model/mod.rs @@ -41,7 +41,7 @@ pub use self::{ #[graphql(field( name = "created_at", desc = "When the object was created.", - type = "DateTime" + ty = "DateTime" ))] pub enum CreationEvent { Authentication(Box), diff --git a/crates/graphql/src/model/node.rs b/crates/graphql/src/model/node.rs index d1b8f762..923fa109 100644 --- a/crates/graphql/src/model/node.rs +++ b/crates/graphql/src/model/node.rs @@ -114,7 +114,7 @@ impl NodeType { /// An object with an ID. #[derive(Interface)] -#[graphql(field(name = "id", desc = "ID of the object.", type = "ID"))] +#[graphql(field(name = "id", desc = "ID of the object.", ty = "ID"))] pub enum Node { Anonymous(Box), Authentication(Box),