grpc / grpc-dart

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

Dart 3 compatibility: `_ResponseMixin` should be changed to be an actual `mixin` #613

Closed oprypin closed 1 year ago

oprypin commented 1 year ago

This definition should be changed to mixin: https://github.com/grpc/grpc-dart/blob/eb833d3f1c4ee9b588fe6bf5e18ed476edb938f9/lib/src/client/common.dart#L80

Otherwise this will fail to build if Dart language version 3 is used. https://github.com/grpc/grpc-dart/blob/eb833d3f1c4ee9b588fe6bf5e18ed476edb938f9/lib/src/client/common.dart#L46

The change will be fully backwards-compatible (it's a private symbol), so it can be applied sooner rather than later.