diff --git a/lib/grpc_connection_interface.dart b/lib/grpc_connection_interface.dart index 37bf3d6..c0e3176 100644 --- a/lib/grpc_connection_interface.dart +++ b/lib/grpc_connection_interface.dart @@ -15,6 +15,7 @@ /// Exports an interface suitable for defining an alternate implementation of /// [ClientChannel]. +library; export 'src/client/call.dart' show CallOptions, ClientCall; export 'src/client/channel.dart' show ClientChannelBase; diff --git a/pubspec.yaml b/pubspec.yaml index 1154abf..d6e7ad4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: dev_dependencies: build_runner: ^2.0.0 build_test: ^2.0.0 - lints: ^2.0.0 + lints: ">=2.0.0 <4.0.0" mockito: ^5.0.0 path: ^1.8.0 test: ^1.16.0 diff --git a/test/src/server_utils.dart b/test/src/server_utils.dart index 24a9410..8f4a1d5 100644 --- a/test/src/server_utils.dart +++ b/test/src/server_utils.dart @@ -122,7 +122,7 @@ class ServerHarness extends _Harness { @override ConnectionServer createServer() => Server.create( services: [service], - interceptors: [interceptor], + interceptors: [interceptor.call], ); static ServiceMethod createMethod(String name, @@ -136,7 +136,7 @@ class ConnectionServerHarness extends _Harness { @override ConnectionServer createServer() => ConnectionServer( [service], - [interceptor], + [interceptor.call], ); static ServiceMethod createMethod(