commit | 117e8692048e16417b64f10837c193adbc853b7f | [log] [tgz] |
---|---|---|
author | Ömer Sinan Ağacan <omeragacan@gmail.com> | Tue May 17 16:05:48 2022 +0300 |
committer | GitHub <noreply@github.com> | Tue May 17 15:05:48 2022 +0200 |
tree | 00bdff7906ec437664f5a94b38e16dbe4f7073af | |
parent | 88c401692df4f8bb3371dc36d946d6f8883937af [diff] |
Make the toString of enums be the value if names are omitted (#649) Use the field index for field numbers in GeneratedMessage.toString if field names are omitted. The new test is not run with `make run-tests`. To run manually: (in protoc_plugin/) $ dart pub get $ make protos $ dart run test/omit_enum_names_test.dart $ dart -Dprotobuf.omit_enum_names=true run test/omit_enum_names_test.dart Port of cl/322743819
Protocol Buffers (protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.
This repository is home to packages related to protobuf for Dart. It contains: