Skip to content

Correct Connector and Disconnector typos, add aliases to prevent breakage.#835

Merged
negz merged 2 commits intocrossplane:mainfrom
n3wscott:fix-connector
May 19, 2025
Merged

Correct Connector and Disconnector typos, add aliases to prevent breakage.#835
negz merged 2 commits intocrossplane:mainfrom
n3wscott:fix-connector

Conversation

@n3wscott
Copy link
Copy Markdown
Contributor

@n3wscott n3wscott commented May 12, 2025

Description of your changes

I noticed the word Connector and Disconnector were misspelled with an er vs or. Fixed that.

I have added aliases for any corrected type or function with the limited exception of the following that require a bump to go v1.23+:

  • TypedNopDisconnecter
  • TypedNopDisconnecter
  • TypedExternalConnectDisconnecterFns

in Go v1.23+, generic aliases are allowed, but not in 1.22.

I have also build and ran the unit tests for this change replacing the package for:

  • crossplane-contrib/aws-providers
  • crossplane/crossplane
  • personal provider impl that follows the provider guide

Lastly, I moved the deprecated functions and types into their own file so we can clean it up easier. Possibly for v2?

I have:

Need help with this checklist? See the cheat sheet.

@n3wscott n3wscott requested a review from a team as a code owner May 12, 2025 22:57
@n3wscott n3wscott requested a review from turkenh May 12, 2025 22:57
…kage.

Signed-off-by: Scott Nichols <n3wscott@upbound.io>
Copy link
Copy Markdown
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.

One question but LGTM overall.

Signed-off-by: Scott Nichols <n3wscott@upbound.io>
@n3wscott n3wscott requested a review from negz May 14, 2025 17:18
@negz negz merged commit 0812f32 into crossplane:main May 19, 2025
10 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.

2 participants