Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0-beta4
-
Fix Version/s: 1.0-beta5
-
Labels:None
-
Source ID:XLT-42
-
Number of attachments :
Description
ElementMapper handles both Collection and simple fields as targets. Code contains a lot of branching (if() clauses) to facilitate this. To unify the code, remove targetType and elementConverter fields and all code that depends on them. Replace them with itemTypes and converterCache collections which already exist for Collections handling. Also check AnnotationProcessor.processElements() method that sets this two fields and replace accordingly.