grpc / grpc-dart

The Dart language implementation of gRPC.
https://pub.dev/packages/grpc
Apache License 2.0
861 stars 271 forks source link

gRPC WellKnownTypes packages #614

Open zs-dima opened 1 year ago

zs-dima commented 1 year ago

It would be nice to have ability to be able to create utility packages for the WellKnownTypes. Currently protoc_plugin generate WellKnownTypes classes with the the proto protocols, therefore it is not easy to separate WellKnownTypes classes to the different package. .Net has a workaround for WellKnownTypes, so I could for example create a separate library with WellKnownTypes extensions.

It might be nice to add WellKnownTypes interfaces or some other way to allow create utility packages for the WellKnownTypes in Dart as well.