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

Improve usability of @Mapper annotation #9980

Merged
merged 1 commit into from
Oct 17, 2023
Merged

Conversation

graemerocher
Copy link
Contributor

@graemerocher graemerocher commented Oct 13, 2023

This PR adds a couple of small improvements to the bean mapping API.

  • Register type converters for each mapper method
  • Allow omitting to argument which assumes you are binding to the root entity

@graemerocher graemerocher added the type: improvement A minor improvement to an existing feature label Oct 13, 2023
@graemerocher graemerocher modified the milestones: 3.7.8, 4.2.0 Oct 13, 2023
@sonarcloud
Copy link

sonarcloud bot commented Oct 13, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

58.4% 58.4% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@graemerocher graemerocher merged commit 11bd400 into 4.2.x Oct 17, 2023
9 of 10 checks passed
@graemerocher graemerocher deleted the mapper-improvements branch October 17, 2023 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement A minor improvement to an existing feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants