Skip to content

airframe-http: Return RPCException when method parameter mapping fails  #2773

@xerial

Description

@xerial

Support adding validation logic when deserializing request data into RPC function arguments.

Currently, if the model class has some assertion and airframe-codec fails to instantiate objects, MessageCodecException will be reported. Airframe RPC should return RPCException instead in such cases.

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