Skip to content

edge调用dubbo接口反序列化问题 #3

@cafeUncle

Description

@cafeUncle

在edge界面输入json数据,点击提交后,dubbo服务对数据反序列为真实bean类型。这个过程中存在期望为Long实际为Integer,或期望为XXDomain实际为LinkedHashMap的情况,导致有后续逻辑报错。
控制台打印类型无法处看出该情况,在debug模式中观察反序列化后的对象真实类型,才可以看出。
请问这种情况可以通过什么方式解决呢?

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