Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRPC message FIeldMask parsing #373

Open
nirk4m opened this issue Dec 27, 2023 · 0 comments
Open

GRPC message FIeldMask parsing #373

nirk4m opened this issue Dec 27, 2023 · 0 comments

Comments

@nirk4m
Copy link

nirk4m commented Dec 27, 2023

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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant