apollo-kotlin: Can't able to download schema after updating version to 3.8.0

Version

3.8.0

Summary

I can’t able to download schema from command in 3.8.0

Steps to reproduce the behavior

I am using this command:

./gradlew downloadApolloSchema --endpoint=“https://staging-graphql.outerspatial.com/v1/graphql” --schema=“app/src/main/graphql/com/trailheadlabs/outerspatial/schema.json” --header=“X-Hasura-Admin-Secret: my-token-here”

this command works fine in 3.7.5 version

Logs

> Task :app:downloadApolloSchema FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:downloadApolloSchema'.
> Cannot decode introspection 

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
1 actionable task: 1 executed

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 21 (11 by maintainers)

Most upvoted comments

@BoD Yes it’s working well using 3.8.1 thanks for you help so now you can close this issue. Thanks