Skip to content

TypeHandler cannot support super classes or interfaces. #604

@gaohanghbut

Description

@gaohanghbut

look the code UnknownTypeHandler.resolveTypeHandler.
If a TypeHandler in the TypeHandlerRegistry is mapped by an interface class, the TypeHandlerRegistry.getTypeHandler cannot return the TypeHandler because of the giving type is parameter.getClass,so I think it's useful if TypeHandlerRegistry can return the TypeHandler mapped by interface(if only implemented one) or super classe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions