Skip to content

Commit

Permalink
docs for issues with customtype
Browse files Browse the repository at this point in the history
  • Loading branch information
awalterschulze committed Sep 19, 2016
1 parent a11c89f commit a31fa02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ You might also find that basic structs that started their life as part of an API

`Warning about customtype: It is your responsibility to test all cases of your marshaling, unmarshaling and size methods implemented for your custom type.`

Issues with customtype include:
* <a href="https://github.com/gogo/protobuf/issues/199">A Bytes method is not allowed.<a/>
* <a href="https://github.com/gogo/protobuf/issues/132">Defining a customtype as a fake proto message is broken.</a>
* <a href="https://github.com/gogo/protobuf/issues/147">proto.Clone is broken.</a>
* <a href="https://github.com/gogo/protobuf/issues/125">Using a proto message as a customtype is not allowed.</a>

# Goprotobuf Compatibility

Gogoprotobuf is compatible with Goprotobuf, because it is compatible with protocol buffers (see the section on tests below).
Expand Down

0 comments on commit a31fa02

Please sign in to comment.