Skip to content

Incorrect validation with paramStructure === "by-name" #729

Description

@pilot114

Describe the bug
When calling method in js client, like

  let empId = 4026;
  const result = await client.getHistory(empId);
  console.log(result.total)

i have error
Image

the problem is probably here
Image

what's the point of validating params if we send rpcParams?
we need to check the schema of what we are sending.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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