You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/09 16:11:00 UTC
[jira] [Commented] (THRIFT-3812) Option to prefix namespace to
Swift type names
[ https://issues.apache.org/jira/browse/THRIFT-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16245923#comment-16245923 ]
ASF GitHub Bot commented on THRIFT-3812:
----------------------------------------
Github user zhaakhi commented on the issue:
https://github.com/apache/thrift/pull/1002
Hello, sorry that I haven't had time to work more on this.
In principle it could be merged with just a rebase and a change to the option name.
In practice https://github.com/apache/thrift/pull/1084 should take priority, and may reduce the need for this by using module namespacing.
If anyone still wants this after https://github.com/apache/thrift/pull/1084 has been merged, I could do a rebase and fix it up.
> Option to prefix namespace to Swift type names
> ----------------------------------------------
>
> Key: THRIFT-3812
> URL: https://issues.apache.org/jira/browse/THRIFT-3812
> Project: Thrift
> Issue Type: New Feature
> Components: Swift - Compiler
> Reporter: HÃ¥kon Hitland
> Priority: Minor
>
> Swift does have a way to namespace things within a pod, which can lead to name collisions.
> This adds an option "swift:prefix_namespace" that will add Cocoa-style prefixes to the generated code if the file has a defined Swift namespace.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)