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),