You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I mark some resolvers in an #[Object] impl with #[graphql(deprecation = "Blah")], I would expect these to be marked with @deprecated in the generated schema. I could not find anything about this in the book but managed to find some mentions by searching the repository (and then looking for the reference documentation for the #[Object] attribute macro).
Actual Behavior
I can add the attribute with or without reason and async-graphql will generate a schema for me, but it doesn't add @deprecated directives.
Specifications
Version: 3.0.35
Platform: macOS
The text was updated successfully, but these errors were encountered:
Expected Behavior
If I mark some resolvers in an
#[Object]
impl with#[graphql(deprecation = "Blah")]
, I would expect these to be marked with@deprecated
in the generated schema. I could not find anything about this in the book but managed to find some mentions by searching the repository (and then looking for the reference documentation for the#[Object]
attribute macro).Actual Behavior
I can add the attribute with or without reason and async-graphql will generate a schema for me, but it doesn't add
@deprecated
directives.Specifications
The text was updated successfully, but these errors were encountered: