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

to-string methods should omit optional null fields from output

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.7
    • None
    • None

    Description

      We have structs with a lot of optional fields, and from a debugging standpoint, when we print out such structs, all the null optional fields pollute the printout with an enormous amount of noise. I think it would be pretty handy if optional fields that were null were just omitted from the print out entirely.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bryanduxbury Bryan Duxbury
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: