Closed artificial-james closed 2 years ago
I don't believe StructToStruct is handling anypb correctly. Take a look at the attached patch: any_existing.patch.txt
It appears to be copying other fields. Notice the ExtraUser Role field has changed even though it isn't included in the mask.
Edit: Also, the ExtraUser Name field should be unchanged (since it isn't included in the mask), but is changing to "username".
This is clearly a bug. Thanks for reporting. Now fixed.
I don't believe StructToStruct is handling anypb correctly. Take a look at the attached patch: any_existing.patch.txt
It appears to be copying other fields. Notice the ExtraUser Role field has changed even though it isn't included in the mask.
Edit: Also, the ExtraUser Name field should be unchanged (since it isn't included in the mask), but is changing to "username".