• Paul Yang's avatar
    Add discard unknown API in ruby. (#3990) · 0e7b5895
    Paul Yang authored
    * Add discard unknown API in ruby.
    
    * Add test for oneof message field.
    
    * Add TestUnknown to represent unknown field data clearly.
    
    * Only serialize the message with unknown fields itself in test.
    
    * Move discard_unknown from Message to Google.Protobuf
    0e7b5895
encode_decode_test.rb 2.14 KB