status-im / nim-protobuf-serialization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't serialize (repeated fields)

arnetheduck opened this issue · comments

type Xxx {.protobuf3.} = object
  xxx {.fieldNumber: 1.}: seq[uint32]

echo Protobuf.encode(Xxx(xxx: @[2'u32, 3, 4]))

the above message silently compiles and outputs an empty seq