Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

descriptor: add Enum interface and ForEnum function #302

Closed

Conversation

RJPercival
Copy link

Similar to descriptor.Message and descriptor.ForMessage, except for enums.

RJPercival and others added 2 commits March 7, 2017 10:00
Works similar to ForMessage, but for enums.
The descriptor_test and test.proto are expanded to cover this func and the
case of enums having options.
@dsnet dsnet changed the title Add descriptor.Enum interface and descriptor.ForEnum func descriptor: add Enum interface and ForEnum function Mar 9, 2018
@dsnet
Copy link
Member

dsnet commented Apr 2, 2018

I apologize for the immensely delayed response; we're working through the backlog of protobuf issues. Thanks for the PR. At this present moment, there is a re-design of much of the proto ecosystem happening as a result of #364. The new API will continue comprehensive ways to obtain the descriptors, so I'm wary of adding additional ways to provide that same functionality.

@dsnet dsnet closed this Apr 2, 2018
@golang golang locked and limited conversation to collaborators Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants