malijs / mali

A minimalistic gRPC microservice framework for Node.js
https://mali.js.org
Apache License 2.0
883 stars 60 forks source link

GRPC message FIeldMask parsing #373

Open nirk4m opened 6 months ago

nirk4m commented 6 months ago

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