Skip to content
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
1 change: 1 addition & 0 deletions Sources/GRPCHealthService/HealthService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public import GRPCCore
/// }
/// ```
@available(gRPCSwiftExtras 1.0, *)
@available(*, deprecated, message: "See https://forums.swift.org/t/80177")
public struct HealthService: Sendable, RegistrableRPCService {
/// An implementation of the `grpc.health.v1.Health` service.
private let service: Service
Expand Down
1 change: 1 addition & 0 deletions Sources/GRPCInteropTests/InteroperabilityTestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
public import GRPCCore

@available(gRPCSwiftExtras 1.0, *)
@available(*, deprecated, message: "See https://forums.swift.org/t/80177")
public protocol InteroperabilityTest {
/// Run a test case using the given connection.
///
Expand Down
1 change: 1 addition & 0 deletions Sources/GRPCInteropTests/TestService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ private import struct Foundation.Data
#endif

@available(gRPCSwiftExtras 1.0, *)
@available(*, deprecated, message: "See https://forums.swift.org/t/80177")
public struct TestService: Grpc_Testing_TestService.ServiceProtocol {
public init() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ package import Tracing
/// - https://opentelemetry.io/docs/specs/semconv/rpc/rpc-spans
/// - https://opentelemetry.io/docs/specs/semconv/rpc/grpc/
@available(gRPCSwiftExtras 1.0, *)
@available(*, deprecated, message: "See https://forums.swift.org/t/80177")
public struct ClientOTelTracingInterceptor: ClientInterceptor {
private let injector: ClientRequestInjector
private var serverHostname: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ package import Tracing
/// - https://opentelemetry.io/docs/specs/semconv/rpc/rpc-spans
/// - https://opentelemetry.io/docs/specs/semconv/rpc/grpc/
@available(gRPCSwiftExtras 1.0, *)
@available(*, deprecated, message: "See https://forums.swift.org/t/80177")
public struct ServerOTelTracingInterceptor: ServerInterceptor {
private let extractor: ServerRequestExtractor
private var serverHostname: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public import struct Foundation.Data
/// The service will offer information to clients about any registered services. You can register
/// a service by providing its descriptor set to the service.
@available(gRPCSwiftExtras 1.0, *)
@available(*, deprecated, message: "See https://forums.swift.org/t/80177")
public struct ReflectionService: Sendable {
private let service: ReflectionService.V1

Expand Down
1 change: 1 addition & 0 deletions Sources/GRPCServiceLifecycle/GRPCClient+Service.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public import ServiceLifecycle
// A `@retroactive` conformance here is okay because this project is also owned by the owners of
// `GRPCCore`, and thus, the owners of `GRPCClient`. A conflicting conformance won't be added.
@available(gRPCSwiftExtras 1.0, *)
@available(*, deprecated, message: "See https://forums.swift.org/t/80177")
extension GRPCClient: @retroactive Service {
public func run() async throws {
try await withGracefulShutdownHandler {
Expand Down
1 change: 1 addition & 0 deletions Sources/GRPCServiceLifecycle/GRPCServer+Service.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public import ServiceLifecycle
// A `@retroactive` conformance here is okay because this project is also owned by the owners of
// `GRPCCore`, and thus, the owners of `GRPCServer`. A conflicting conformance won't be added.
@available(gRPCSwiftExtras 1.0, *)
@available(*, deprecated, message: "See https://forums.swift.org/t/80177")
extension GRPCServer: @retroactive Service {
public func run() async throws {
try await withGracefulShutdownHandler {
Expand Down