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

Remove framework types from multibinding contribution keys. #4469

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

copybara-service[bot]
Copy link

Remove framework types from multibinding contribution keys.

This CL removes the framework types from multibinding contribution keys.

Before:

  • @Provides @IntoMap: Map<K,Provider<V>>
  • @Produces @IntoMap: Map<K,Producer<V>>
  • @Binds @IntoMap: (depends on delegating binding)

After:

  • @Provides @IntoMap: Map<K,V>
  • @Produces @IntoMap: Map<K,V>
  • @Binds @IntoMap: Map<K,V>

I've also added a flag (default enabled) that can be manually disabled to make migrations easier.

RELNOTES=N/A

@copybara-service copybara-service bot force-pushed the test_678046562 branch 3 times, most recently from 31ff368 to 7cf98dc Compare October 4, 2024 16:59
This CL removes the framework types from multibinding contribution keys.

Before:

  * `@Provides @IntoMap`: `Map<K,Provider<V>>`
  * `@Produces @IntoMap`: `Map<K,Producer<V>>`
  * `@Binds @IntoMap`: (depends on delegating binding)

After:

  * `@Provides @IntoMap`: `Map<K,V>`
  * `@Produces @IntoMap`: `Map<K,V>`
  * `@Binds @IntoMap`: `Map<K,V>`

I've also added a flag (default enabled) that can be manually disabled to make migrations easier.

RELNOTES=N/A
PiperOrigin-RevId: 682383786
@copybara-service copybara-service bot merged commit 8ba8242 into master Oct 4, 2024
@copybara-service copybara-service bot deleted the test_678046562 branch October 4, 2024 18:09
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.

1 participant