Added subtype registration
This commit is contained in:
parent
0931af85ed
commit
bd11cefeee
|
@ -146,6 +146,7 @@ public class ElementMapper {
|
|||
module.setAbstractTypes(resolver);
|
||||
|
||||
mapper.registerModule(module);
|
||||
mapper.registerSubtypes(interfaceClz);
|
||||
}
|
||||
|
||||
public static <El extends Element> void registerSubtype(Class<El> clz) {
|
||||
|
|
Loading…
Reference in New Issue