Skip to content

Apollo Kotlin introspection query does not include deprecated input fields #6945

@bobi-obretenov

Description

@bobi-obretenov

Version

4.3.3

Summary

Apollo Kotlin: 4.3.3
Apollo Kotlin Gradle Plugin: com.apollographql.apollo 4.3.3
GraphQL Spec: June 2018+ (supports inputFields(includeDeprecated:) argument)

Apollo Kotlin's built-in introspection query (used by the downloadApolloSchemaFromIntrospection Gradle task) does not pass includeDeprecated: true to inputFields in the introspection query. This causes deprecated input fields to be silently omitted from the downloaded schema, which in turn causes codegen to fail when any .graphql operation file references a deprecated input field.

Steps to reproduce the behavior

No response

Logs

(Your logs here)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions