You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connect has no OKcode. This is intentional since the code is only used to classify errors. Checking if the error is nil or not is the way to determine if an operation was okay.
This is not intended to be used in exactly the same fashion as grpc-go's API. We can clarify this further in the doc comments for connect.CodeOf.
Describe the bug
connect.CodeOf(nil)
returnsconnect.CodeUnknown
which is different to grpc which returnscodes.OK
To Reproduce
You can repro with the following test:
Additional context
The text was updated successfully, but these errors were encountered: