We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b57f4f + ce76c44 commit 836bde8Copy full SHA for 836bde8
flow/flow.go
@@ -1500,8 +1500,9 @@ func structFieldKeys(t reflect.Type, prefix string) []string {
1500
vField := t.Field(i)
1501
tField := vField.Type
1502
1503
- // ignore XXX fields as they are considered as private
1504
- if strings.HasPrefix(vField.Name, "XXX_") {
+ // ignore both XXX fields - as they are considered as private - and internal fields
+ protoTag := vField.Tag.Get("protobuf")
1505
+ if strings.HasPrefix(vField.Name, "XXX_") || protoTag == "" {
1506
continue
1507
}
1508
0 commit comments