Added new feature but cannot figure out how to test :| #1253
Replies: 1 comment 2 replies
-
Thanks for considering contributing to Mapperly! I'm not sure if I understand correctly what you are trying to implement. Please also keep in mind to open an issue for any major new feature to discuss the feature and its design before implementation to prevent redundant work. See also the contributor documentation. Note the If I get it correctly you want to add a new property to the |
Beta Was this translation helpful? Give feedback.
-
I have a requirement to alter the property names being search for
dtmDOB
toDOB
orMyName
toMy_Name
for instance. I followed thePropertyNameMappingStrategy
config as I feel this is related (matching property names) I have added this functionality as a config setting with a LambdaQ. I can't quite figure out how to get that config set in the tests. The test below passes if I hard code the lambda but I can't figure out how to set it in the test itself
Code is in https://github.com/fruitbatinshades/mapperly if anyone wants to have a look or offer suggestions.
Beta Was this translation helpful? Give feedback.
All reactions