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

Dart generator argument to produce a file structure usable in parent library

    XMLWordPrintableJSON

Details

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

    Description

      The default Dart compiler behavior is to generate a new library for each thrift file. Add an argument to generate files and imports that are usable in an existing library.

      This produces a file structure like:

      gen-dart/
          tutorial.dart
          tutorial/
              calculator.dart
              invalid_operation.dart	
              operation.dart
              tutorial_constants.dart
              work.dart
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: