You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Mark Erickson (JIRA)" <ji...@apache.org> on 2016/01/09 21:51:39 UTC

[jira] [Commented] (THRIFT-3535) Dart generator argument to produce a file structure usable in parent library

    [ https://issues.apache.org/jira/browse/THRIFT-3535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15090778#comment-15090778 ] 

Mark Erickson commented on THRIFT-3535:
---------------------------------------

Code Review: https://github.com/markerickson-wf/thrift/pull/17

> Dart generator argument to produce a file structure usable in parent library
> ----------------------------------------------------------------------------
>
>                 Key: THRIFT-3535
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3535
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Dart - Compiler
>            Reporter: Mark Erickson
>            Assignee: Mark Erickson
>
> 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:
> {code}
> gen-dart/
>     tutorial.dart
>     tutorial/
>         calculator.dart
>         invalid_operation.dart	
>         operation.dart
>         tutorial_constants.dart
>         work.dart
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)