Skip to content

ignore withXZY fluent setter#150

Open
jomu78 wants to merge 1 commit intomapstruct:mainfrom
jomu78:feature/91_ignore_fluent_wither
Open

ignore withXZY fluent setter#150
jomu78 wants to merge 1 commit intomapstruct:mainfrom
jomu78:feature/91_ignore_fluent_wither

Conversation

@jomu78
Copy link

@jomu78 jomu78 commented Aug 25, 2023

No description provided.

@filiphr
Copy link
Member

filiphr commented Sep 10, 2023

Thanks for this PR @jomu78. I like the idea of it. However, I would prefer if we do not tie ourselves to withXYZ. I would prefer if we offer users to define their own templates that would mark methods as ignored.

If possible this should also be a project specific configuration, since it is related to usage of a specific custom accessor naming strategy I guess.

Another alternative would also be to provide some kind of a hook point (e.g. providing templates in custom accessor naming strategy implementations) that would be able to define if some methods should be implemented or not. Then we can load and check those from the plugin if we have things in the project.

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