Skip to content

Commit

Permalink
Minor change to pass array as type to rule
Browse files Browse the repository at this point in the history
  • Loading branch information
rayokota committed Oct 30, 2024
1 parent 8d502ae commit bb39027
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schemaregistry/serde/protobuf/protobuf_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ func getType(fd protoreflect.FieldDescriptor) serde.FieldType {
if fd.IsMap() {
return serde.TypeMap
}
if fd.IsList() {
return serde.TypeArray
}
switch fd.Kind() {
case protoreflect.MessageKind:
return serde.TypeRecord
Expand Down

0 comments on commit bb39027

Please sign in to comment.