Skip to content

Validate Req.Params is either an array or an object and not a primitive type #7

@soygul

Description

@soygul

JSON RPC 2.0 specs dictate request parameters to be structured; either an array or key/value pairs. We need to have a validator function in a common place (jsonrpc/message.go) as it is both used by jsonrpc/client.go and jsonrpc/sender.go.

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