You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd expect to be able to define a field mask for all options in a oneof block.
What did you see instead?
panic: proto: invalid path "strings" for message "myproto.Msg"
Anything else we should know about your project / environment?
I totally get that I could pass fieldmaskpb.New(Msg, "s1", "s2") but this result surprised me and quick Googling didn't show any related results so I thought I'd raise it here.
The text was updated successfully, but these errors were encountered:
What version of protobuf and what language are you using?
Version:
What did you do?
Given a proto like
After compiling into Go I ran
What did you expect to see?
Success
I'd expect to be able to define a field mask for all options in a oneof block.
What did you see instead?
panic: proto: invalid path "strings" for message "myproto.Msg"
Anything else we should know about your project / environment?
I totally get that I could pass
fieldmaskpb.New(Msg, "s1", "s2")
but this result surprised me and quick Googling didn't show any related results so I thought I'd raise it here.The text was updated successfully, but these errors were encountered: