I'd like to create a custom TypeConverter
that receives a few objects and converts them to another object.
E.g. to convert (MyEntity, AdditionalEntity, locale)
to MyDto
.
Is there any way to pass a few objects to a TypeConverter
except creating a DTO (MyEntity, AdditionalEntity, locale)
?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…