Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Capitalize prefix/suffix acronyms in default resource config's kind name #179

Merged
merged 3 commits into from
Dec 17, 2021

Conversation

ulucinar
Copy link
Collaborator

@ulucinar ulucinar commented Dec 16, 2021

Description of your changes

Fixes #178

In the default resource config, capitalize acronyms appearing as prefix/suffixes in kind names. For example, instead of Serverid, we would like to have the default kind name as ServerID.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

With provider-jet-azure by generating resources from main branch.

Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
pkg/config/defaults.go Outdated Show resolved Hide resolved
Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
pkg/types/reference.go Outdated Show resolved Hide resolved
Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
Copy link
Member

@turkenh turkenh left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @ulucinar !

@ulucinar ulucinar merged commit 4783b55 into crossplane:main Dec 17, 2021
@ulucinar ulucinar deleted the fix-178 branch December 17, 2021 13:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Capitalize Acronyms in Generated Resource Kind Names
3 participants