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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Dart - Compiler
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: