-
Notifications
You must be signed in to change notification settings - Fork 29
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
Convert protobuf message to map after applying a field mask doesn't work #41
Comments
@mennanov any chances you can take a look at this? |
I'll take a look within the next few days |
I wrote a similar test that passes:
Try using |
Thanks for the information, will give it a try! We should probably add this test case as it would help future devs that find this issue. I can take care of creating a PR for this test and adding some docs about the |
A PR is welcomed! |
Resolved in PR #42 |
Context
I'm trying to convert a proto message to map using this library in order to perform a
PATCH
update in an endpoint. I'm getting an empty map instead of a single field map with the respective value.Relevant code
Current behavior
m
is emptyExpected behavior
Reference
Protobuf messages: https://github.com/marcoshuck/todo/blob/main/api/tasks/v1/tasks.proto#L60
The text was updated successfully, but these errors were encountered: