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

Thrift Dart generated code not working with dart 2.12.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Dart - Library
    • None

    Description

      Generated dart code shows numerous errors when using with Dart 2.12.1 (in flutter).

      Using tutorial.thrift and thrift generator 0.15.0

      • Non-nullable instance field '_iprot' must be initialized. (Documentation)
      • A value of type 'Object' can't be assigned to a variable of type 'int'. (Documentation)

      Also for Flutter it's missing null-safety

      Attachments

        Activity

          People

            Unassigned Unassigned
            vladaman Vladimir Vlach
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: