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

.NET core generator incorrectly uses Isset with nullable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 0.11.0
    • None
    • netcore - Compiler
    • Important

    Description

      Looks like the bug in on this line

       

          bool generate_isset = (nullable_ && has_non_required_default_value_fields) || (!nullable_ && has_non_required_fields);

       

      I think it should be

       

          bool generate_isset = (!nullable_ && has_non_required_fields);

      Attachments

        Activity

          People

            Unassigned Unassigned
            AceHack Rodney Aaron Stainback
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: