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

Jens Geyer commented on THRIFT-3776:
------------------------------------

{quote}
Because of that you can't compile multiple thrift files with the same 
namespace. They will just overwrite each other.
{quote}

I don't like to tell you, but that's something you should not do. That will 
cause all sort and kinds of problems, not just with Go. Always use different 
namespaces for IDL files, never share a Thrift namespace across multiple Thrift 
IDL files. That's a sure recipe for disaster.

> Go code from multiple thrift files with the same namespace
> ----------------------------------------------------------
>
>                 Key: THRIFT-3776
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3776
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Go - Compiler
>    Affects Versions: 0.9.3
>            Reporter: artem antonenko
>
> Currently compiler puts all generated Go code into two files - ttypes.go and 
> constants.go. Because of that you can't compile multiple thrift files with 
> the same namespace. They will just overwrite each other.



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

Reply via email to