Skip to content

Conversation

@copybara-service
Copy link

Refactor ComponentRequirement to compute NullPolicy at creation time.

The NullPolicy for each ComponentRequirement kind is now determined when the requirement is created, rather than being computed lazily within the nullPolicy() method.

This removes the need for an overrideNullPolicy() field and makes the overall logic for determining the NullPolicy clearer.

RELNOTES=N/A

…ime.

The `NullPolicy` for each `ComponentRequirement` kind is now determined when the requirement is created, rather than being computed lazily within the `nullPolicy()` method.

This removes the need for an `overrideNullPolicy()` field and makes the overall logic for determining the `NullPolicy` clearer.

RELNOTES=N/A
PiperOrigin-RevId: 846813018
@copybara-service copybara-service bot merged commit 54af480 into master Dec 19, 2025
@copybara-service copybara-service bot deleted the test_846785987 branch December 19, 2025 19:48
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