orika-mapper/orika

零到多层循环源节点到目标节点的转换问题。Conversion problem from zero to multi-layer loop source node to target node

bawfnje opened this issue · 1 comments

我应用orika需要在零到多层循环源节点到零到多层目标节点的转换。例如(I use orika and need to convert from zero to multi-layer loop source node to zero to multi-layer target node. E.g):
A.B =》C.D{E}
A.B =》C.D{E{F}}
A.B =》C.D{E{F{G}}}
反之(in contrast):
A.B{C} =>D.E
A.B{C{D}} => E.F
A.B{C{D{E}}} => F.G
我使用最新的版本,验证失败,@elaatifi 请问orika支持这种情况吗,还是我配置的有问题(I use the latest version, the verification fails, @elaatifi Does orika support this situation, or is there a problem with my configuration):
ClassMapBuilder.fieldMap("A.B","C.D{E}");

Your example is too bad. 哥们儿直接放代码例子吧,我觉得应该是支持的。