Skip to content

Commit caba761

Browse files
authored
fix extraction field naming with standard Go types (#2763)
1 parent cd2b40c commit caba761

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/extractor.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ func extractValue(v reflect.Type, d int) *registry.Value {
4444
continue
4545
}
4646
val.Name = parts[0]
47+
} else {
48+
val.Name = f.Name
4749
}
4850

4951
// if there's no name default it

0 commit comments

Comments
 (0)