You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2011/03/25 18:30:05 UTC

[jira] [Closed] (THRIFT-1111) The HTML generator does not distinguish between string and binary types

     [ https://issues.apache.org/jira/browse/THRIFT-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury closed THRIFT-1111.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.7
         Assignee: Adrian Muraru

I just committed this patch. Thanks Adrian!

> The HTML generator does not distinguish between string and binary types
> -----------------------------------------------------------------------
>
>                 Key: THRIFT-1111
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1111
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (General)
>    Affects Versions: 0.6
>            Reporter: Adrian Muraru
>            Assignee: Adrian Muraru
>             Fix For: 0.7
>
>         Attachments: THRIFT-1111.patch
>
>
> Given the following service method defined in thrift IDL,
>   list<string> my_method(
>     1: string arg1,
>     3: map<binary, map<binary, binary>> arg2,
>   )
> I would expect the html doc generated to reflect that arg is a string argument while elements in arg2 are of "binary" type.
> Currently HTML generator prints "string" type for both cases, misleading the API users.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira