Skip to content

Revert "chore: deprecate the reference pointer helper functions"#833

Merged
jbw976 merged 1 commit intocrossplane:mainfrom
sergenyalcin:revert-780-chore-deprecate-pointer-helper-function
May 9, 2025
Merged

Revert "chore: deprecate the reference pointer helper functions"#833
jbw976 merged 1 commit intocrossplane:mainfrom
sergenyalcin:revert-780-chore-deprecate-pointer-helper-function

Conversation

@sergenyalcin
Copy link
Copy Markdown
Member

@sergenyalcin sergenyalcin commented May 9, 2025

Reverts #780

The details are in crossplane/crossplane-tools#106 and crossplane/crossplane-tools#103.

We observed behavioral differences between the k8s.io/utils/ptr package and these helper functions. So, I am attempting to reverse this change and reintroduce them.

Other references: grafana/crossplane-provider-grafana#282, crossplane-contrib/provider-upjet-gcp#779.

Please see @negz's guidance: crossplane/crossplane-tools#106 (comment)

After reintroducing these helpers, I will update my crossplane-tools PR.

@sergenyalcin sergenyalcin requested a review from a team as a code owner May 9, 2025 08:04
@sergenyalcin sergenyalcin requested a review from negz May 9, 2025 08:04
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
@sergenyalcin sergenyalcin force-pushed the revert-780-chore-deprecate-pointer-helper-function branch from df58586 to 79b8fcf Compare May 9, 2025 08:08
Copy link
Copy Markdown
Member

@jbw976 jbw976 left a comment

Choose a reason for hiding this comment

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

LGTM @sergenyalcin, I agree with the conclusion in crossplane/crossplane-tools#106 (comment).

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.

2 participants