-
Notifications
You must be signed in to change notification settings - Fork 435
Continuing #762: Added trailing HTTPHeaders for custom error reporting #873
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
glbrntt
left a comment
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.
Great start @FranzBusch -- I've left some comments inline.
9406fbf to
d98668b
Compare
glbrntt
left a comment
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.
I've left some comments about testing: unfortunately we can't use XCTUnwrap here. We should also expand the tests to cover all 4 RPC types.
In addition you'll need to update the test manifest (make generate-linuxmain should do the trick).
Sources/GRPC/CallHandlers/BidirectionalStreamingCallHandler.swift
Outdated
Show resolved
Hide resolved
d98668b to
899e146
Compare
glbrntt
left a comment
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.
Great stuff; you need to generate and commit the test manifests to get through the CI (make generate-linuxmain) but otherwise this looks good. I left a couple of style suggestions (missing self. etc.) too.
899e146 to
ccf9335
Compare
glbrntt
left a comment
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.
Looks great, subject to CI passing! Thanks a lot @FranzBusch
glbrntt
left a comment
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.
Sorry @FranzBusch -- the CI was unhappy with this for Swift 5.0.
ccf9335 to
aaae5a7
Compare
I continued the PR #762 from @fabianfett. I added the changes requested by @glbrntt to use a struct instead of a tuple to hold both values. Additionally, I added tests for this new functionality. Since this is my first time contributing it would be great if you @glbrntt could point out things that I am missing or I should have done differently.
Looking forward to your feedback :)