Skip to content

Fix method name collisions for getProperties() #434

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

Conversation

mrinaudo-aws
Copy link
Contributor

Issue #, if available:

Description of changes:
Fix method name collisions for getProperties() when a target resource type has a Properties property defined, and Lombok-generated getters (and setters) are named getProperties() (and setProperties(), respectively), whereas the former collides with getProperties() already defined for ResourceHookTarget.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@akshayrane akshayrane self-requested a review January 10, 2024 17:09
@mrinaudo-aws mrinaudo-aws marked this pull request as draft January 10, 2024 17:39
@mrinaudo-aws
Copy link
Contributor Author

@akshayrane @brianlaoaws @reza-aws @rpdutt I'm converting this PR to a draft to explore the possibility to have a resolution dedicated to hooks, as this plugin is also used for resource types whose generated classes are also processed by the same logic that this PR updates.

@mrinaudo-aws mrinaudo-aws marked this pull request as ready for review January 10, 2024 20:01
@mrinaudo-aws mrinaudo-aws merged commit 219872f into aws-cloudformation:master Jan 10, 2024
@mrinaudo-aws mrinaudo-aws deleted the fix-getproperties-method-name-collisions branch January 10, 2024 21:12
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.

6 participants