Skip to content

Commit 2955310

Browse files
committed
Fixed explicit Sendable issues.
1 parent e047830 commit 2955310

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

Sources/GRPCInteropTests/Generated/empty_service.grpc.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ internal import GRPCProtobuf
2929

3030
/// Namespace containing generated types for the "grpc.testing.EmptyService" service.
3131
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
32-
public enum Grpc_Testing_EmptyService {
32+
public enum Grpc_Testing_EmptyService: Sendable {
3333
/// Service descriptor for the "grpc.testing.EmptyService" service.
3434
public static let descriptor = GRPCCore.ServiceDescriptor(fullyQualifiedService: "grpc.testing.EmptyService")
3535
/// Namespace for method metadata.
36-
public enum Method {
36+
public enum Method: Sendable {
3737
/// Descriptors for all methods in the "grpc.testing.EmptyService" service.
3838
public static let descriptors: [GRPCCore.MethodDescriptor] = []
3939
}
@@ -155,4 +155,4 @@ extension Grpc_Testing_EmptyService.ClientProtocol {
155155
// Helpers providing sugared APIs for 'ClientProtocol' methods.
156156
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
157157
extension Grpc_Testing_EmptyService.ClientProtocol {
158-
}
158+
}

Sources/GRPCInteropTests/Generated/test.grpc.swift

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ internal import GRPCProtobuf
3232

3333
/// Namespace containing generated types for the "grpc.testing.TestService" service.
3434
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
35-
public enum Grpc_Testing_TestService {
35+
public enum Grpc_Testing_TestService: Sendable {
3636
/// Service descriptor for the "grpc.testing.TestService" service.
3737
public static let descriptor = GRPCCore.ServiceDescriptor(fullyQualifiedService: "grpc.testing.TestService")
3838
/// Namespace for method metadata.
39-
public enum Method {
39+
public enum Method: Sendable {
4040
/// Namespace for "EmptyCall" metadata.
41-
public enum EmptyCall {
41+
public enum EmptyCall: Sendable {
4242
/// Request type for "EmptyCall".
4343
public typealias Input = Grpc_Testing_Empty
4444
/// Response type for "EmptyCall".
@@ -50,7 +50,7 @@ public enum Grpc_Testing_TestService {
5050
)
5151
}
5252
/// Namespace for "UnaryCall" metadata.
53-
public enum UnaryCall {
53+
public enum UnaryCall: Sendable {
5454
/// Request type for "UnaryCall".
5555
public typealias Input = Grpc_Testing_SimpleRequest
5656
/// Response type for "UnaryCall".
@@ -62,7 +62,7 @@ public enum Grpc_Testing_TestService {
6262
)
6363
}
6464
/// Namespace for "CacheableUnaryCall" metadata.
65-
public enum CacheableUnaryCall {
65+
public enum CacheableUnaryCall: Sendable {
6666
/// Request type for "CacheableUnaryCall".
6767
public typealias Input = Grpc_Testing_SimpleRequest
6868
/// Response type for "CacheableUnaryCall".
@@ -74,7 +74,7 @@ public enum Grpc_Testing_TestService {
7474
)
7575
}
7676
/// Namespace for "StreamingOutputCall" metadata.
77-
public enum StreamingOutputCall {
77+
public enum StreamingOutputCall: Sendable {
7878
/// Request type for "StreamingOutputCall".
7979
public typealias Input = Grpc_Testing_StreamingOutputCallRequest
8080
/// Response type for "StreamingOutputCall".
@@ -86,7 +86,7 @@ public enum Grpc_Testing_TestService {
8686
)
8787
}
8888
/// Namespace for "StreamingInputCall" metadata.
89-
public enum StreamingInputCall {
89+
public enum StreamingInputCall: Sendable {
9090
/// Request type for "StreamingInputCall".
9191
public typealias Input = Grpc_Testing_StreamingInputCallRequest
9292
/// Response type for "StreamingInputCall".
@@ -98,7 +98,7 @@ public enum Grpc_Testing_TestService {
9898
)
9999
}
100100
/// Namespace for "FullDuplexCall" metadata.
101-
public enum FullDuplexCall {
101+
public enum FullDuplexCall: Sendable {
102102
/// Request type for "FullDuplexCall".
103103
public typealias Input = Grpc_Testing_StreamingOutputCallRequest
104104
/// Response type for "FullDuplexCall".
@@ -110,7 +110,7 @@ public enum Grpc_Testing_TestService {
110110
)
111111
}
112112
/// Namespace for "HalfDuplexCall" metadata.
113-
public enum HalfDuplexCall {
113+
public enum HalfDuplexCall: Sendable {
114114
/// Request type for "HalfDuplexCall".
115115
public typealias Input = Grpc_Testing_StreamingOutputCallRequest
116116
/// Response type for "HalfDuplexCall".
@@ -122,7 +122,7 @@ public enum Grpc_Testing_TestService {
122122
)
123123
}
124124
/// Namespace for "UnimplementedCall" metadata.
125-
public enum UnimplementedCall {
125+
public enum UnimplementedCall: Sendable {
126126
/// Request type for "UnimplementedCall".
127127
public typealias Input = Grpc_Testing_Empty
128128
/// Response type for "UnimplementedCall".
@@ -1978,13 +1978,13 @@ extension Grpc_Testing_TestService.ClientProtocol {
19781978

19791979
/// Namespace containing generated types for the "grpc.testing.UnimplementedService" service.
19801980
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
1981-
public enum Grpc_Testing_UnimplementedService {
1981+
public enum Grpc_Testing_UnimplementedService: Sendable {
19821982
/// Service descriptor for the "grpc.testing.UnimplementedService" service.
19831983
public static let descriptor = GRPCCore.ServiceDescriptor(fullyQualifiedService: "grpc.testing.UnimplementedService")
19841984
/// Namespace for method metadata.
1985-
public enum Method {
1985+
public enum Method: Sendable {
19861986
/// Namespace for "UnimplementedCall" metadata.
1987-
public enum UnimplementedCall {
1987+
public enum UnimplementedCall: Sendable {
19881988
/// Request type for "UnimplementedCall".
19891989
public typealias Input = Grpc_Testing_Empty
19901990
/// Response type for "UnimplementedCall".
@@ -2329,13 +2329,13 @@ extension Grpc_Testing_UnimplementedService.ClientProtocol {
23292329

23302330
/// Namespace containing generated types for the "grpc.testing.ReconnectService" service.
23312331
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
2332-
public enum Grpc_Testing_ReconnectService {
2332+
public enum Grpc_Testing_ReconnectService: Sendable {
23332333
/// Service descriptor for the "grpc.testing.ReconnectService" service.
23342334
public static let descriptor = GRPCCore.ServiceDescriptor(fullyQualifiedService: "grpc.testing.ReconnectService")
23352335
/// Namespace for method metadata.
2336-
public enum Method {
2336+
public enum Method: Sendable {
23372337
/// Namespace for "Start" metadata.
2338-
public enum Start {
2338+
public enum Start: Sendable {
23392339
/// Request type for "Start".
23402340
public typealias Input = Grpc_Testing_ReconnectParams
23412341
/// Response type for "Start".
@@ -2347,7 +2347,7 @@ public enum Grpc_Testing_ReconnectService {
23472347
)
23482348
}
23492349
/// Namespace for "Stop" metadata.
2350-
public enum Stop {
2350+
public enum Stop: Sendable {
23512351
/// Request type for "Stop".
23522352
public typealias Input = Grpc_Testing_Empty
23532353
/// Response type for "Stop".
@@ -2834,4 +2834,4 @@ extension Grpc_Testing_ReconnectService.ClientProtocol {
28342834
onResponse: handleResponse
28352835
)
28362836
}
2837-
}
2837+
}

0 commit comments

Comments
 (0)