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
The title is pretty much self explanatory. When trying to generate code from schema that had @deprecated directive on the input fields I get this error. Is it a bug or expected behaviour? If it's not a bug what is the reason behind dropping @deprecated directive support on INPUT_FIELD_DEFINITION?
Minimal graphql.schema and models to reproduce
schema {
query: Query
}
type Query {
getMenu(input: GetMenuInput!): Menu!
}
input GetMenuInput {
menuID: ID @deprecated(reason: "Use `id`")
id: ID
}
type Menu {
id: ID!
name: String!
}
versions
gqlgen version - v.0.12.*
go version - go1.16.6
go modules
The text was updated successfully, but these errors were encountered:
Hi,
The title is pretty much self explanatory. When trying to generate code from schema that had @deprecated directive on the input fields I get this error. Is it a bug or expected behaviour? If it's not a bug what is the reason behind dropping @deprecated directive support on INPUT_FIELD_DEFINITION?
Minimal graphql.schema and models to reproduce
versions
gqlgen version - v.0.12.*
go version - go1.16.6
The text was updated successfully, but these errors were encountered: