This PR is a correction to https://github.com/dedis/protobuf/pull/31.
It forbids to use a [][]TYPE when TYPE != byte as a field.
It forbids to use a []TYPE for keys. One can still use string or []byte because it's equivalent to bytes in protobuf types.
It forbids to use a []TYPE or map[Key]Value in the value of a map.
This PR is a correction to https://github.com/dedis/protobuf/pull/31. It forbids to use a
[][]TYPE
whenTYPE != byte
as a field. It forbids to use a[]TYPE
for keys. One can still usestring
or[]byte
because it's equivalent tobytes
in protobuf types. It forbids to use a[]TYPE
ormap[Key]Value
in the value of a map.