Open oliversalzburg opened 2 years ago
this is likely caused by the graphql-js upgrade
Please try to reproduce it with v1.1.1
and graphql-js@15.8.0
.
If so, then report it in the graphql-js
repo as it's now caused by type-graphql itself.
If you think it is, then propose a solution to fix it 😉
Describe the Bug After upgrading to 1.2.0-rc.1, when GraphQL Playground runs an introspection query, it will complain about input types that have no fields.
To Reproduce Create an input type where all fields are deprecated.
Expected Behavior The deprecated fields are returned, the introspection succeeds and GraphQL Playground is able to operate normally.
Environment (please complete the following information):
Additional Context From what I understand, this is likely caused by the graphql-js upgrade. I found https://github.com/graphql/graphql-js/issues/2834 which hints at this issue. I found no way how to affect this behavior from type-graphql itself.