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

Jeff DeCew commented on THRIFT-849:
-----------------------------------

Yes, if we had a multi-pass compiler then the only compelling ordering would be 
alphabetical.

However, the wiki clearly states that cyclic structs (the primary benefit of a 
multi-pass compiler) are a non-feature of Thrift.  (Personally, I think it's a 
shame, but I understand why.)  Without that benefit there is little reason for 
a multi-pass compiler, and as long as the compiler is one-pass, authors of 
thrift files will be putting meaning into the order of their structs and 
services.

> HTML Generator: sorting of Services and Data Types is wrong within TOC
> ----------------------------------------------------------------------
>
>                 Key: THRIFT-849
>                 URL: https://issues.apache.org/jira/browse/THRIFT-849
>             Project: Thrift
>          Issue Type: Bug
>    Affects Versions: 0.1, 0.2, 0.3
>            Reporter: Roger Meier
>            Priority: Minor
>         Attachments: 
> THRIFT-849_Services_Datatypes_Order__Datatypes_with_Key.patch
>
>
> Sorting of Services and Data Types is alphabetic, instead of the order 
> defined in thrift IDL file.
> In addidtion this patch adds the Key attribute to the Data Types Tables.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to