You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integrated Apollo SDK v4.0.0 in Android mobile app project, but receiving introspection error on code compile when using a large size schema file given to us by backend team. Please let us know what could be the issue
Steps to reproduce the behavior
No response
Logs
Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:generateServiceApolloSources'.
Caused by: com.apollographql.apollo3.relocated.com.apollographql.apollo3.ast.SourceAwareException: e: src/main/graphql/<package_name>/schema.json: (-1, 0): names starting with '__' are reserved for introspection
at com.apollographql.apollo3.relocated.com.apollographql.apollo3.ast.IssueKt.checkNoErrors(SourceFile:8)
at com.apollographql.apollo3.relocated.com.apollographql.apollo3.ast.GQLResult.valueAssertNoErrors(SourceFile:1)
at com.apollographql.apollo3.compiler.IncomingOptions$Companion.resolveSchema(SourceFile:146)
at com.apollographql.apollo3.gradle.internal.ApolloGenerateSourcesTask.taskAction(SourceFile:54)
The text was updated successfully, but these errors were encountered:
Version
v4.0.0
Summary
Integrated Apollo SDK v4.0.0 in Android mobile app project, but receiving introspection error on code compile when using a large size schema file given to us by backend team. Please let us know what could be the issue
Steps to reproduce the behavior
No response
Logs
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:generateServiceApolloSources'.
Caused by: com.apollographql.apollo3.relocated.com.apollographql.apollo3.ast.SourceAwareException: e: src/main/graphql/<package_name>/schema.json: (-1, 0): names starting with '__' are reserved for introspection
at com.apollographql.apollo3.relocated.com.apollographql.apollo3.ast.IssueKt.checkNoErrors(SourceFile:8)
at com.apollographql.apollo3.relocated.com.apollographql.apollo3.ast.GQLResult.valueAssertNoErrors(SourceFile:1)
at com.apollographql.apollo3.compiler.IncomingOptions$Companion.resolveSchema(SourceFile:146)
at com.apollographql.apollo3.gradle.internal.ApolloGenerateSourcesTask.taskAction(SourceFile:54)
The text was updated successfully, but these errors were encountered: