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

Provide a way to get an enum's values from its FieldInfo #63

Closed
skybrian opened this issue Sep 7, 2016 · 0 comments
Closed

Provide a way to get an enum's values from its FieldInfo #63

skybrian opened this issue Sep 7, 2016 · 0 comments

Comments

@skybrian
Copy link
Contributor

skybrian commented Sep 7, 2016

A FieldInfo for an enum has a valueOf function, but it doesn't have a way to get get the values list.

This will require changing both dart-protobuf and dart-protoc-plugin.

jakobr-google added a commit to jakobr-google/dart-protoc-plugin that referenced this issue Oct 25, 2017
* Added enumValues to FieldInfo. Fixes google/protobuf.dart#63.
jakobr-google added a commit to jakobr-google/dart-protobuf that referenced this issue Oct 25, 2017
* Added enumValues to FieldInfo. Fixes google#63.
* Small performance optimization when deserializing repeated messages
  from JSON.
* Type annotations for strong mode.
jakobr-google added a commit to jakobr-google/dart-protoc-plugin that referenced this issue Oct 25, 2017
* Added enumValues to FieldInfo. Fixes google/protobuf.dart#63.
jakobr-google added a commit that referenced this issue Oct 25, 2017
* Added enumValues to FieldInfo. Fixes #63.
* Small performance optimization when deserializing repeated messages
  from JSON.
* Type annotations for strong mode.
jakobr-google added a commit to dart-archive/dart-protoc-plugin that referenced this issue Oct 25, 2017
* Added enumValues to FieldInfo. Fixes google/protobuf.dart#63.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant