Skip to content

Conversation

@tangyang9464
Copy link
Contributor

@tangyang9464 tangyang9464 commented May 20, 2025

close: #3831

I added qualifiedBy and qualifiedByName to @ValueMapping.

MappingResolverImpl#getTargetAssignment cannot handle this situation because the scenario of inserting method for switch-default branch is similar to LifecycleMethod, not MappingMethod, so DefaultValueMappingMethodResolver is added to handle collection methods. It is very similar to LifecycleMethodResolver.

plz review. @filiphr

@tangyang9464 tangyang9464 force-pushed the feature/3831-String2Enum-default-behavior branch 5 times, most recently from 9f37762 to d4cb3bd Compare May 21, 2025 08:08
…ned methods in the switch-default branch

Signed-off-by: TangYang <[email protected]>
@tangyang9464 tangyang9464 force-pushed the feature/3831-String2Enum-default-behavior branch from d4cb3bd to ad75854 Compare May 21, 2025 08:10
@tangyang9464
Copy link
Contributor Author

@filiphr any viewpoints?

@filiphr
Copy link
Member

filiphr commented Jun 1, 2025

I haven't had the time to go through this one yet. Will let you know once I get to it

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.

String -> Enum mapping own default behavior

2 participants