Skip to content

Support deprecated input object fields in introspection query #1241

@caruspi

Description

@caruspi

Environment

  • Elixir version (elixir -v): 1.14.2-otp-25
  • Absinthe version (mix deps | grep absinthe): 1.7.1
  • Client Framework and version (Relay, Apollo, etc): Apollo v3.7.5

Expected behavior

When making an introspection query to get data about fields, I'd like to query for deprecated fields on input objects as defined in the graphql-spec

Actual behavior

With this PR Apollo devs added (includeDeprecated: true) as a param to inputFields in the fragment portion of the GraphQL query to download a schema.
This param is not currently supported by Absinthe and the Gradle plugin has stopped working starting from this Apollo version (3.7.5).

Also Close #1113

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions