Skip to content

Conversation

@mackee
Copy link
Owner

@mackee mackee commented May 19, 2025

Prefixed an underscore to local variables in template-generated TableType methods to prevent shadowing of receiver or method arguments. This update maintains code clarity and resolves potential variable name conflicts in methods such as plural getters, AssociateBy, GroupBy, and time hook hooks.

mackee added 2 commits May 19, 2025 11:21
…s by prefixing underscore

Prefixed an underscore to local variables in template-generated TableType methods to prevent shadowing of receiver or method arguments. This update maintains code clarity and resolves potential variable name conflicts in methods such as plural getters, AssociateBy, GroupBy, and time hook hooks.
@mackee mackee merged commit 0c7d2cf into master May 19, 2025
1 check passed
@mackee mackee deleted the fix/plugin-template-vars branch May 19, 2025 02:34
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