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

[gradle-plugin] Use lazy APIs #5923

Merged
merged 1 commit into from
May 28, 2024
Merged

Conversation

martinbonnin
Copy link
Contributor

Using .any {} was somewhat eagerly configuring things and that messed up KGP.

Fixes #5922

@martinbonnin martinbonnin requested a review from BoD as a code owner May 27, 2024 17:28
Copy link

netlify bot commented May 27, 2024

Deploy Preview for apollo-android-docs canceled.

Name Link
🔨 Latest commit d4956ca
🔍 Latest deploy log https://app.netlify.com/sites/apollo-android-docs/deploys/6654c2b4dc983d00085f61dc

@@ -600,7 +601,7 @@ abstract class DefaultApolloExtension(
codegenMetadataConsumerConfiguration.dependencies.add(it)
}

val pending = pendingDownstreamDependencies.get(name)
val pending = pendingDownstreamDependencies.get(service.name)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an unrelated fix that I discovered by serendipity for isADependencyOf(bidirectional: true)

Copy link
Contributor

@BoD BoD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@martinbonnin martinbonnin merged commit 7bfc55f into main May 28, 2024
9 checks passed
@martinbonnin martinbonnin deleted the remove-eager-configuration branch May 28, 2024 12:10
BoD pushed a commit to BoD/apollo-kotlin that referenced this pull request Jul 1, 2024
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

Successfully merging this pull request may close these issues.

Apply com.apollographql.apollo3 plugin will break the dependencies in Kotlin Multiplatform according to IDEA
2 participants