Closed
Description
Since 498fe39 we can add @deprecated
to types like so:
type User {
name: String!
age: int @deprecated(reason: "Use `dob` instead")
dob: Date!
}
However the @deprecated
directive throws an error on input
:
input UserInput {
name: String!
age: int! = 0 @deprecated(reason: "Use `dob` instead")
dob: Date!
}
panic: graphql: syntax error: unexpected "@", expecting Ident
Metadata
Metadata
Assignees
Labels
No labels