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

update toFieldPath policies with options compatible to upstream mergeOptions #102

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

ravilr
Copy link
Contributor

@ravilr ravilr commented Mar 28, 2024

@ravilr
Copy link
Contributor Author

ravilr commented Mar 28, 2024

@phisco @negz PTAL 🙏

Copy link
Member

@negz negz left a comment

Choose a reason for hiding this comment

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

Looks good to me, thank you!

My only comments are about sorting the list of policies.

input/v1beta1/resources_patches.go Outdated Show resolved Hide resolved
input/v1beta1/resources_patches.go Outdated Show resolved Hide resolved
patches.go Outdated Show resolved Hide resolved
@ravilr ravilr force-pushed the update_toFieldMergePolicies branch 2 times, most recently from 07f8711 to 5826eab Compare March 28, 2024 05:59
@negz
Copy link
Member

negz commented Mar 28, 2024

@ravilr Aha, looks like the linter is complaining about the few uses of the newly deprecated types in the codebase. Could you update those too? I think they need a comment like:

//nolint:staticcheck // These are deprecated but we must still support them

@ravilr ravilr force-pushed the update_toFieldMergePolicies branch from 5826eab to 566a3fc Compare March 28, 2024 18:47
Copy link
Collaborator

@phisco phisco left a comment

Choose a reason for hiding this comment

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

Awesome! Thanks @ravilr!

@negz negz merged commit bd61696 into crossplane-contrib:main Mar 28, 2024
6 checks passed
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.

3 participants