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

[Refactor]: Move members injection optimization into its RequestRepresentation. #4524

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

copybara-service[bot]
Copy link

[Refactor]: Move members injection optimization into its RequestRepresentation.

I've also added tests for this optimization, since nothing failed when I removed it.

This CL moves the logic for a members injection optimization into its corresponding RequestRepresentation (MembersInjectionRequestRepresentation).

The benefit of this refactor is

  1. Consolidates the logic for members injection requests into a single location.
  2. Simplifies ComponentRequestRepresentations and allows us to share more of the code between members injection and contribution component methods.

RELNOTES=N/A

…sentation.

I've also added tests for this optimization, since nothing failed when I removed it.

This CL moves the logic for a members injection optimization into its corresponding RequestRepresentation (`MembersInjectionRequestRepresentation`).

The benefit of this refactor is

  1. Consolidates the logic for members injection requests into a single location.
  2. Simplifies `ComponentRequestRepresentations` and allows us to share more of the code between members injection and contribution component methods.

RELNOTES=N/A
PiperOrigin-RevId: 702018277
@copybara-service copybara-service bot merged commit 369bbc6 into master Dec 2, 2024
@copybara-service copybara-service bot deleted the test_700752478 branch December 2, 2024 18:52
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