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

Clarify mergeOptions to toFieldPath migration logic #112

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

jbw976
Copy link
Member

@jbw976 jbw976 commented Apr 29, 2024

This PR updates the README to clarify and make more explicit the equivalent configuration between the no longer supported mergeOptions and the replacement toFieldPath. It took a bit of effort to figure out the conversion logic in
crossplane/crossplane#5464, so this PR is an attempt to update the README to make this more clear for future readers.

The paragraph form of non-exhaustive cases has been replaced by a table with all possible cases and one explicit example has been included to. Hopefully this new approach is more readable and understandable for folks 🙏

@jbw976 jbw976 changed the title Clarify mergeOptions to toFieldPath migration logic Clarify mergeOptions to toFieldPath migration logic Apr 29, 2024
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.

thanks @jbw976!

@negz negz merged commit c4f2319 into crossplane-contrib:main Apr 30, 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