Skip to content

GRPC message FIeldMask parsing #373

Open
@nirk4m

Description

Describe the bug
nodejs server using mali.js receives an unary call request with Field Mask porperty.
The field mask attribute on the reqeust payload returns in the following structure update_field_makse: {paths: string[]}
While using ts-proto generated types, the type is generated as native sting array like {update_field_mask: string[]}
check https://github.com/stephenh/ts-proto?tab=readme-ov-file#well-known-types

Expected behavior
unwrap the mask paths into flat string array field

Environment

  • Version: 0.47.1
  • Node.js version: 18.16
  • OS:

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