Descriptiongoprotobuf: Make text parsing functions return RequiredNotSetError as appropriate.
This permits a program to ignore unset required fields when decoding text
just as they can already do when decoding the wire format.
It has the downside of no longer always returning a ParseError unfortunately.
Patch Set 1 #Patch Set 2 : diff -r f123757c0387df47ab2d2009c2fbefbef5f944e9 https://code.google.com/p/goprotobuf #Patch Set 3 : diff -r f123757c0387df47ab2d2009c2fbefbef5f944e9 https://code.google.com/p/goprotobuf #Patch Set 4 : diff -r f123757c0387df47ab2d2009c2fbefbef5f944e9 https://code.google.com/p/goprotobuf #
MessagesTotal messages: 3
|
||||||||||||||||||||||||||||