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

OCM-4459 | fix: change casing to fix the create failure issue #912

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

chenz4027
Copy link
Contributor

@chenz4027 chenz4027 commented Mar 6, 2024

UserName UsernameClaim
Username UsernameClaim
Copy link
Contributor

@machi1990 machi1990 Mar 6, 2024

Choose a reason for hiding this comment

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

You could also use the json annotation

 @json(name = "username")
 UserName UsernameClaim

This will ensure backward compatible for the UserName field, assuming that the sdk has already been release.

Copy link
Contributor

Choose a reason for hiding this comment

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

I am not aware of anyone using this yet so it should be safe. But we can also change the json annotation if we want

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes. And if there were people using it, it's probably not working so we should be fine just changing it now. I wanted to share the above as mostly an FYI

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @machi1990 @andreadecorte , let me add the json annotation

CHANGES.md Outdated Show resolved Hide resolved
Signed-off-by: Maggie Chen <[email protected]>

add json

Signed-off-by: Maggie Chen <[email protected]>
@chenz4027
Copy link
Contributor Author

@andreadecorte @machi1990 Would you mind taking another look? Thanks!

Copy link
Contributor

@machi1990 machi1990 left a comment

Choose a reason for hiding this comment

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

I'll let @andreadecorte give this another look and final approval as the SME

@andreadecorte
Copy link
Contributor

/lgtm

@chenz4027
Copy link
Contributor Author

Hmm seems like it's not auto merged. @andreadecorte @machi1990 Do you have merge permission by any chance?

@machi1990 machi1990 merged commit 5856dc4 into openshift-online:main Mar 6, 2024
2 checks passed
@machi1990
Copy link
Contributor

@chenz4027 it is merged now, you can followup with the rest of the changes

@chenz4027
Copy link
Contributor Author

@machi1990 Thanks a lot!

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