Skip to content
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

ensure old akka-grpc deprecation versions are specified to be akka-grpc #120

Merged
merged 1 commit into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ final class GrpcClientSettings private (
def withLoadBalancingPolicy(loadBalancingPolicy: String): GrpcClientSettings =
copy(loadBalancingPolicy = Some(loadBalancingPolicy))

@deprecated("use withLoadBalancingPolicy", since = "1.0.0")
@deprecated("use withLoadBalancingPolicy", since = "akka-grpc 1.0.0")
def withGrpcLoadBalancingType(loadBalancingType: String): GrpcClientSettings =
withLoadBalancingPolicy(loadBalancingType)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ final class ScalaClientStreamingRequestBuilder[I, O](
settings: GrpcClientSettings)(implicit mat: Materializer, ec: ExecutionContext) =
this(descriptor, channel, defaultOptions, settings, MetadataImpl.empty)

@deprecated("fqMethodName was removed since it can be derived from the descriptor", "1.1.0")
@deprecated("fqMethodName was removed since it can be derived from the descriptor", "akka-grpc 1.1.0")
@InternalStableApi
def this(
descriptor: MethodDescriptor[I, O],
Expand Down Expand Up @@ -182,7 +182,7 @@ final class JavaClientStreamingRequestBuilder[I, O](
settings: GrpcClientSettings)(implicit mat: Materializer, ec: ExecutionContext) =
this(descriptor, channel, defaultOptions, settings, MetadataImpl.empty)

@deprecated("fqMethodName was removed since it can be derived from the descriptor", "1.1.0")
@deprecated("fqMethodName was removed since it can be derived from the descriptor", "akka-grpc 1.1.0")
@InternalStableApi
def this(
descriptor: MethodDescriptor[I, O],
Expand Down Expand Up @@ -225,7 +225,7 @@ final class ScalaServerStreamingRequestBuilder[I, O](
settings: GrpcClientSettings)(implicit ec: ExecutionContext) =
this(descriptor, channel, defaultOptions, settings, MetadataImpl.empty)

@deprecated("fqMethodName was removed since it can be derived from the descriptor", "1.1.0")
@deprecated("fqMethodName was removed since it can be derived from the descriptor", "akka-grpc 1.1.0")
@InternalStableApi
def this(
descriptor: MethodDescriptor[I, O],
Expand Down Expand Up @@ -268,7 +268,7 @@ final class JavaServerStreamingRequestBuilder[I, O](
settings: GrpcClientSettings)(implicit ec: ExecutionContext) =
this(descriptor, channel, defaultOptions, settings, MetadataImpl.empty)

@deprecated("fqMethodName was removed since it can be derived from the descriptor", "1.1.0")
@deprecated("fqMethodName was removed since it can be derived from the descriptor", "akka-grpc 1.1.0")
@InternalStableApi
def this(
descriptor: MethodDescriptor[I, O],
Expand Down Expand Up @@ -312,7 +312,7 @@ final class ScalaBidirectionalStreamingRequestBuilder[I, O](
settings: GrpcClientSettings)(implicit ec: ExecutionContext) =
this(descriptor, channel, defaultOptions, settings, MetadataImpl.empty)

@deprecated("fqMethodName was removed since it can be derived from the descriptor", "1.1.0")
@deprecated("fqMethodName was removed since it can be derived from the descriptor", "akka-grpc 1.1.0")
@InternalStableApi
def this(
descriptor: MethodDescriptor[I, O],
Expand Down Expand Up @@ -355,7 +355,7 @@ final class JavaBidirectionalStreamingRequestBuilder[I, O](
settings: GrpcClientSettings)(implicit ec: ExecutionContext) =
this(descriptor, channel, defaultOptions, settings, MetadataImpl.empty)

@deprecated("fqMethodName was removed since it can be derived from the descriptor", "1.1.0")
@deprecated("fqMethodName was removed since it can be derived from the descriptor", "akka-grpc 1.1.0")
@InternalStableApi
def this(
descriptor: MethodDescriptor[I, O],
Expand Down