You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2017/10/03 18:24:00 UTC
[jira] [Resolved] (BEAM-2997) Encapsulate all proto enum types
within a message so that they are namespaced in C++/Python
[ https://issues.apache.org/jira/browse/BEAM-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luke Cwik resolved BEAM-2997.
-----------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
> Encapsulate all proto enum types within a message so that they are namespaced in C++/Python
> -------------------------------------------------------------------------------------------
>
> Key: BEAM-2997
> URL: https://issues.apache.org/jira/browse/BEAM-2997
> Project: Beam
> Issue Type: Improvement
> Components: beam-model, sdk-java-core, sdk-py-core
> Reporter: Luke Cwik
> Assignee: Luke Cwik
> Fix For: 2.2.0
>
>
> Python/C++ dump enums into the parent namespace. By placing the enum within a containing message, we can provide a meaningful name for enums and avoid collisions in names.
> See:
> https://developers.google.com/protocol-buffers/docs/cpptutorial#enums-and-nested-classes
> https://developers.google.com/protocol-buffers/docs/pythontutorial#enums
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)