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

toString methods to print enumerated-type values as the name of the value instead of the value

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      I think it would be really awesome if the various toString methods on generated structs knew enough to convert the integer values of enumerated types into the names of those values. It'd make the output that much nicer looking when you're debugging.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: