Added subtype registration

This commit is contained in:
Luca Frosini 2024-07-02 17:29:50 +02:00
parent 0931af85ed
commit bd11cefeee
1 changed files with 1 additions and 0 deletions

View File

@ -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) {