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

Jens Geyer commented on THRIFT-2491:
------------------------------------

@[~traviscline]: Why do we {{underscore()}} file names at all? Is there a 
specific reason for it? The only other generator that does it this way is the 
Ruby generator. What about removing these underscore() calls for go file names 
completely? 

[~apesternikov] Your patch would be still needed, since one is free to name his 
service {{foo_test}}. But let's just wait for Travis' answer.

> unable to import generated ThriftTest service
> ---------------------------------------------
>
>                 Key: THRIFT-2491
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2491
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Compiler
>            Reporter: Aleksey Pesternikov
>            Priority: Minor
>
> IDL compiler uses service name converted from camel case to underscores as a 
> file name. service ThriftTest {} goes into thrift_test.go, which is not being 
> compiled since the file match *_test.go mask.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to