Should I file a GitHub issue for this? I am not sure what the right 
protocol is. 

Thanks. 

On Wednesday, November 23, 2016 at 1:04:07 PM UTC-8, Arpit Baldeva wrote:
>
> Thanks for the info. Typedef support would be pretty much useful for 
> regular use cases in C/C++ languages. For example, if we have 100 messages 
> that each have a game id, it'd be nice to just typedef say a uint64 to 
> GameId rather than using it explicitly in each place. This avoids errors 
> like someone using int64 accidentally in one of the messages. Another 
> example would be typedef-ing a collection like map or repeated fields which 
> are used in multiple messages. 
>
> --Arpit
>
> On Wed, Nov 23, 2016 at 11:24 AM, Adam Cozzette <acozze...@google.com> 
> wrote:
>
>> I don't think we have any specific plans to do this, but we could 
>> consider doing at some point if it would be useful. Do you have a 
>> particular use case that would benefit from support for type aliasing?
>>
>> On Mon, Nov 21, 2016 at 4:13 PM, Arpit Baldeva <abald...@gmail.com> 
>> wrote:
>>
>>> Hi,
>>>
>>> Are there any plans to introduce typedef support in the Proto files?
>>>
>>> Thanks
>>> Arpit
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Protocol Buffers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to protobuf+unsubscr...@googlegroups.com.
>>> To post to this group, send email to protobuf@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/protobuf.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to