-
Notifications
You must be signed in to change notification settings - Fork 14
Conform RPCError to RPCErrorConvertible #7
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
Conversation
Sources/GRPCCore/RPCError.swift
Outdated
} | ||
} | ||
|
||
@available(gRPCSwift 2.0, *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@available(gRPCSwift 2.0, *) | |
@available(gRPCSwift 2.1, *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the metadata
and cause
as well? They're defaulted on the protocol but we shouldn't drop them on the floor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
Looks like you'll need to run the formatter too ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @0xTim!
### What changes were proposed in this pull request? This PR aims to upgrade `grpc-swift-2` to 2.1.0. ### Why are the changes needed? To bring the latest improvements and bug fixes. - https://github.com/grpc/grpc-swift-2/releases/tag/2.1.0 - grpc/grpc-swift-2#4 - grpc/grpc-swift-2#3 - grpc/grpc-swift-2#7 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #231 from dongjoon-hyun/SPARK-52913. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
Resolves #6