js-graphql-intellij-plugin
js-graphql-intellij-plugin copied to clipboard
Deprecated input fields get removed from the schema.json
Describe the bug Retrieving the schema with the plugin removes all input fields that are deprecated. Is there any way to keep the deprecated input fields in schema.json?
To Reproduce
- Fetch a schema with deprecated input fields using the plugin with a .graphqlconfig looking like this :
{
"name": "Random Schema",
"schemaPath": "schema.json",
"extensions": {
"endpoints": {
"Default Endpoint": {
"url": "https://random.graphql.cloud/graphql",
"headers": {
"user-agent": "JS GraphQL",
},
"introspect": false
}
}
}
}
- All the input fields that got marked as deprecated are removed from the schema.json
Expected behavior Deprecated input fields should still be included in schema.json
Version and Environment Details Operation system: macOS Monterey 12.6 IDE name and version: Android Studio Flamingo Canary 6 Plugin version: 3.3.0