commit | 8f9cf98a5933ed2ffdb089ccebd87ffb003aef62 | [log] [tgz] |
---|---|---|
author | Loren Van Spronsen <lorenvs@google.com> | Mon Mar 04 09:11:14 2019 -0800 |
committer | sigmundch <sigmund@google.com> | Mon Mar 04 14:34:24 2019 -0800 |
tree | c6cd240bf8e9cafcc844acef1cfeb09d031cd697 | |
parent | b971da70464d93e1eef3e2f48674c9e76deae480 [diff] |
Use unqualified enum strings when generating serialized ids in the proto codec
diff --git a/lib/proto_info_codec.dart b/lib/proto_info_codec.dart index 5cdf96d..762355f 100644 --- a/lib/proto_info_codec.dart +++ b/lib/proto_info_codec.dart
@@ -310,5 +310,5 @@ Id(this.kind, this.id); - String get serializedId => '$kind/$id'; + String get serializedId => '${kindToString(kind)}/$id'; }