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

Dart generator produces empty name in pubspec.yaml for includes without namespaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Dart - Compiler
    • None

    Description

      Given the following, the Dart generator produces a bad pubspec.yaml for example.thrift. It should reference "base", but instead uses an empty string.

      base.thrift

      struct Foo {}
      

      example.thrift

      include "base.thrift"
      
      service FooService {
          base.Foo foo()
      }
      

      Attachments

        Activity

          People

            markerickson-wk Mark Erickson
            markerickson-wk Mark Erickson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: