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
`
keyName = "polaris_id" // field polaris_id = 1
if ov, ok := m.GetXPolarisId().(*Sender_PolarisId); ok {
_ = ov
enc.AddString(keyName, ov.PolarisId)
}
`
However, the GetXPolarisId() doesn't exist and creates a compiletime error.
The text was updated successfully, but these errors were encountered:
Proto3 introduced version 3.12 changelog introduced the optional field label.
However, a message like this:
message Sender { optional string polaris_id = 1; }
generated code like this
`
keyName = "polaris_id" // field polaris_id = 1
if ov, ok := m.GetXPolarisId().(*Sender_PolarisId); ok {
_ = ov
enc.AddString(keyName, ov.PolarisId)
}
`
However, the GetXPolarisId() doesn't exist and creates a compiletime error.
The text was updated successfully, but these errors were encountered: