Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5041

Required fields are not handled correctly on serialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.13.0
    • None
    • netstd - Compiler
    • None

    Description

      Required fields are checked for presence during deserialization (ReadAsync) but not checked during serialization (WriteAsync). That gives a possibility to send invalid data over the wire.

      I think it would make sense to behave same way in both scenarios when reading and writing.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kpozdniakov Konstantin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: