Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2997

Encapsulate all proto enum types within a message so that they are namespaced in C++/Python

    XMLWordPrintableJSON

    Details

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lcwik Luke Cwik
                Reporter:
                lcwik Luke Cwik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: