Skip to content

Commit 43cede7

Browse files
authored
Regenerate code for tests (#65)
Motivation: The generated code used in tests is out of date. This happened because of an update to grpc-swift and the GitHub actions job to check generated code wasn't a required status check (but now is). Modifications: - Regenerate generated code Result: Generated code check passes
1 parent 6525823 commit 43cede7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Tests/GRPCProtobufTests/Errors/Generated/error-service.grpc.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ internal import SwiftProtobuf
3030
// MARK: - ErrorService
3131

3232
/// Namespace containing generated types for the "ErrorService" service.
33+
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3334
internal enum ErrorService {
3435
/// Service descriptor for the "ErrorService" service.
3536
internal static let descriptor = GRPCCore.ServiceDescriptor(fullyQualifiedService: "ErrorService")
@@ -54,13 +55,15 @@ internal enum ErrorService {
5455
}
5556
}
5657

58+
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
5759
extension GRPCCore.ServiceDescriptor {
5860
/// Service descriptor for the "ErrorService" service.
5961
internal static let ErrorService = GRPCCore.ServiceDescriptor(fullyQualifiedService: "ErrorService")
6062
}
6163

6264
// MARK: ErrorService (server)
6365

66+
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
6467
extension ErrorService {
6568
/// Streaming variant of the service protocol for the "ErrorService" service.
6669
///
@@ -134,6 +137,7 @@ extension ErrorService {
134137
}
135138

136139
// Default implementation of 'registerMethods(with:)'.
140+
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
137141
extension ErrorService.StreamingServiceProtocol {
138142
internal func registerMethods<Transport>(with router: inout GRPCCore.RPCRouter<Transport>) where Transport: GRPCCore.ServerTransport {
139143
router.registerHandler(
@@ -151,6 +155,7 @@ extension ErrorService.StreamingServiceProtocol {
151155
}
152156

153157
// Default implementation of streaming methods from 'StreamingServiceProtocol'.
158+
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
154159
extension ErrorService.ServiceProtocol {
155160
internal func throwError(
156161
request: GRPCCore.StreamingServerRequest<ThrowInput>,
@@ -165,6 +170,7 @@ extension ErrorService.ServiceProtocol {
165170
}
166171

167172
// Default implementation of methods from 'ServiceProtocol'.
173+
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
168174
extension ErrorService.SimpleServiceProtocol {
169175
internal func throwError(
170176
request: GRPCCore.ServerRequest<ThrowInput>,
@@ -182,6 +188,7 @@ extension ErrorService.SimpleServiceProtocol {
182188

183189
// MARK: ErrorService (client)
184190

191+
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
185192
extension ErrorService {
186193
/// Generated client protocol for the "ErrorService" service.
187194
///
@@ -257,6 +264,7 @@ extension ErrorService {
257264
}
258265

259266
// Helpers providing default arguments to 'ClientProtocol' methods.
267+
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
260268
extension ErrorService.ClientProtocol {
261269
/// Call the "ThrowError" method.
262270
///
@@ -285,6 +293,7 @@ extension ErrorService.ClientProtocol {
285293
}
286294

287295
// Helpers providing sugared APIs for 'ClientProtocol' methods.
296+
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
288297
extension ErrorService.ClientProtocol {
289298
/// Call the "ThrowError" method.
290299
///

0 commit comments

Comments
 (0)