Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SchemaBuilder not generating deterministic Schema.kt #4137

Closed
eboudrant opened this issue May 25, 2022 · 0 comments
Closed

SchemaBuilder not generating deterministic Schema.kt #4137

eboudrant opened this issue May 25, 2022 · 0 comments

Comments

@eboudrant
Copy link
Contributor

Summary
The Schema.kt is generated by Apollo in build/generated/source/apollo/... folder. The content of the file is different from CI and Local builds causing lot of miss in our Gradle build cache.

Version
3.2.2

Description
The difference in the file come from the all list :

Local build would have :

  public val all: List<CompiledType> = listOf(
        graphql.models.type.TypeA.type,
        graphql.models.type.TypeB.type,
        graphql.models.type.TypeC.type,
            graphql.models.type.TypeD.type)

CI would have :

  public val all: List<CompiledType> = listOf(
        graphql.models.type.TypeA.type,
        graphql.models.type.TypeC.type,
        graphql.models.type.TypeB.type,
            graphql.models.type.TypeD.type)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants