Derivation of by-types and Tuple* transformers #394
-
Hi, chimney people.
In the first case I can imagine something like that:
I've seen examples of using For the second question:
I know it is possible to define transformers manually for both cases but I wonder maybe there is a way to automate transformer derivation somehow for these examples. Thanks in advance 😊 |
Beta Was this translation helpful? Give feedback.
Answered by
MateuszKubuszok
Oct 8, 2023
Replies: 1 comment
-
Hello, sorry for the late answer but I had a busy week.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MateuszKubuszok
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, sorry for the late answer but I had a busy week.
_1
to_1
or_1
to the first constructor's argument, or the first argument in acase class
constructor to_1
, etc), otherwise it always match fields and constructor arguments by their names(String, String, String)
where there would be more ambiguities to manually resolve than automatically resolved values (kinda defeats the purpose of automation). This basically assumes that both source and target type are different orderin…