-
Notifications
You must be signed in to change notification settings - Fork 183
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
Generic generated message #180
Conversation
} | ||
|
||
@override | ||
// TODO: implement info_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove TODO?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
||
BuilderInfo(String messageName, {PackageName package = const PackageName('')}) | ||
: qualifiedMessageName = "${package.prefix}$messageName"; | ||
BuilderInfo(String messageName, {CreateBuilderFunc<M> builder, PackageName package = const PackageName('')}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think builder
should be optional.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. Fixed
protobuf/test/builder_info_test.dart
Outdated
@@ -5,17 +5,23 @@ | |||
import 'package:protobuf/protobuf.dart'; | |||
import 'package:test/test.dart'; | |||
|
|||
class Foo extends GeneratedMessage<Foo> { | |||
@override | |||
// TODO: implement info_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolve TODO?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
protoc_plugin/pubspec.yaml
Outdated
@@ -18,3 +18,7 @@ dev_dependencies: | |||
|
|||
executables: | |||
protoc-gen-dart: protoc_plugin | |||
|
|||
dependency_overrides: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember the usual pubspec and CHANGELOG updates. :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hello @sigurdm, any news for this PR? |
I want to do some measurements of the performance impact before landing this. |
I will not get time to land this in the short future. |
This would solve #177 .
We have to measure the impact on existing codebases before landing this.