Skip to content
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

Added a unary grpc client interceptor that will allow grpc clients to return errors that are compatible with simplerr as well as the grpc status.FromError() and status.Code() methods #12

Merged
merged 8 commits into from
Jan 24, 2025

Conversation

lobocv
Copy link
Owner

@lobocv lobocv commented Jan 5, 2024

Added a unary grpc client interceptor that will allow grpc clients to return errors that are compatbile with simplerr as well as the grpc status.FromError() and status.Code() methods

@lobocv lobocv force-pushed the grpc-unary-client-interceptor branch from 42c22a6 to e9d8e91 Compare January 5, 2024 15:30
@lobocv lobocv changed the title Added a unary grpc client interceptor that will allow grpc clients to return errors that are compatbile with simplerr as well as the grpc status.FromError() and status.Code() methods Added a unary grpc client interceptor that will allow grpc clients to return errors that are compatible with simplerr as well as the grpc status.FromError() and status.Code() methods Jan 5, 2024
.golangci.yaml Outdated
Comment on lines 70 to 71
# Finds unused struct fields
- structcheck
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deprecated

.golangci.yaml Outdated
Comment on lines 59 to 60
# Checks deadcode
- deadcode
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deprecated, replaced by unused

Calvin Lobo added 6 commits January 16, 2025 10:49
… return errors that are compatbile with simplerr as well as the grpc status.FromError() and status.Code() methods
@lobocv lobocv force-pushed the grpc-unary-client-interceptor branch from 68f1f50 to 6905590 Compare January 16, 2025 16:24
@lobocv lobocv merged commit 8ca320b into master Jan 24, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant