Closed
Description
Hi,
First, thanks a lot for gql!
Describe the bug
When fetching the schema from the backend, some @deprecated
fields are missing.
To Reproduce
gql-cli https://preproduction.cloud.kili-technology.com/api/label/v2/graphql --print-schema > schema_preprod.graphql
The fetched schema shows this:
input OrganizationData {
license: String
name: String
}
while the real schema looks like this:
input OrganizationData {
address: String @deprecated(reason: "This information is not relevant")
city: String @deprecated(reason: "This information is not relevant")
country: String @deprecated(reason: "This information is not relevant")
license: String
name: String
zipCode: String @deprecated(reason: "This information is not relevant")
}
Expected behavior
The schema fetching method(s) should not skip deprecated fields.
System info (please complete the following information):
- OS: macos
- Python version: 3.7
- gql version: v3.5.0b3
- graphql-core version: 3.3.0a2
Thanks