apollographql / apollographql/apollo-tooling

Missing `includeDeprecatedInputValues` for `apollo client:download-schema`

Open
#2,686 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

I'm encountering an issue where the input field definition marked as deprecated is not present after I download the schema from the endpoint.

Upon investigating, it appears that there is a flag available for iOS and Kotlin users to include deprecated input values. See [documentation](https://www.apollographql.com/docs/ios/code-generation/codegen-configuration/#2-graphql-introspection).

Is there a similar option that I can utilize for download-schema?

Contributor guide

Open the contributing guide

Research direction

Start at the `apollo client:download-schema` command entry point and review how it obtains the schema from the endpoint. Compare the documented iOS and Kotlin behavior for including deprecated input values. Done means the command has a clear equivalent option and downloaded schemas include deprecated input field definitions when it is enabled.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.