Thanks to visit codestin.com
Credit goes to github.com

Skip to content

119 Improvement: Customize class name and bean name for ConverterRegistrationConfiguration #121

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

Merged
merged 5 commits into from
Feb 18, 2025

Conversation

simonovdenis
Copy link
Contributor

119 Improvement: Customize class name and bean name for ConverterRegistrationConfiguration
Added a way to define custom class name for ConverterRegistrationConfiguration

…strationConfiguration

Added a way to define custom class name for ConverterRegistrationConfiguration
…strationConfiguration

Added a way to define custom class name for ConverterRegistrationConfiguration
…strationConfiguration

Added a way to define custom class name for ConverterRegistrationConfiguration
@Chessray
Copy link
Collaborator

There are currently build failures.

Can you please add a section to the documentation, maybe directly before "Modifying the name for the generated adapter method"?

…strationConfiguration

Added documentation
Fixed generated import element to have simple name instead of full name(uncovered by unit test)
@simonovdenis
Copy link
Contributor Author

simonovdenis commented Jan 29, 2025

Added documentation:
image

Fixed generated import element to have simple name instead of full name(uncovered by unit test).
So having following mapper spring config class:
image
configuration class is generated with name MyConfiguration:
image
And it is properly referenced from ConverterScan class:
image

Please review again.

@Chessray Chessray merged commit 6d1b1a2 into mapstruct:main Feb 18, 2025
1 check passed
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