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
2 changes: 2 additions & 0 deletions Sources/GRPCProtobuf/Coding.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public import SwiftProtobuf

/// Serializes a Protobuf message into a sequence of bytes.
@available(gRPCSwiftProtobuf 1.0, *)
@available(*, deprecated, message: "See https://forums.swift.org/t/80177")
public struct ProtobufSerializer<Message: SwiftProtobuf.Message>: GRPCCore.MessageSerializer {
public init() {}

Expand All @@ -43,6 +44,7 @@ public struct ProtobufSerializer<Message: SwiftProtobuf.Message>: GRPCCore.Messa

/// Deserializes a sequence of bytes into a Protobuf message.
@available(gRPCSwiftProtobuf 1.0, *)
@available(*, deprecated, message: "See https://forums.swift.org/t/80177")
public struct ProtobufDeserializer<Message: SwiftProtobuf.Message>: GRPCCore.MessageDeserializer {
public init() {}

Expand Down
1 change: 1 addition & 0 deletions Sources/GRPCProtobuf/Errors/GoogleRPCStatus.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public import SwiftProtobuf
/// > the serialized bytes of a "google.rpc.Status" protocol buffers message containing the status
/// > code, message, and details.
@available(gRPCSwiftProtobuf 1.0, *)
@available(*, deprecated, message: "See https://forums.swift.org/t/80177")
public struct GoogleRPCStatus: Error, Hashable {
/// A code representing the high-level domain of the error.
public var code: RPCError.Code
Expand Down