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

Report more error responses #97

Merged
merged 10 commits into from
Nov 11, 2019
Merged

Report more error responses #97

merged 10 commits into from
Nov 11, 2019

Conversation

neongreen
Copy link
Contributor

Fixes #94.

@neongreen
Copy link
Contributor Author

Best reviewed commit-by-commit.

@neongreen neongreen force-pushed the neongreen/94-error-responses branch 2 times, most recently from 7ec275a to a247e6d Compare November 8, 2019 12:31
@@ -38,6 +38,7 @@
- ignore: { name: 'Use const' }
- ignore: { name: 'Move brackets to avoid $' }
- ignore: { name: 'Use ?~' }
- ignore: { name: 'Eta reduce' }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ignoring this one because it encourages losing names (cancelCall = Grpc.serverCallCancel serverCall Grpc.StatusUnknown instead of cancelCall err = Grpc.serverCallCancel serverCall Grpc.StatusUnknown err).

Copy link
Contributor

@mdimjasevic mdimjasevic Nov 11, 2019

Choose a reason for hiding this comment

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

Does this apply project-wide? If so, I'd argue this warning is good to have in general. Is it possible to ignore a warning on a code line/site basis?

@neongreen neongreen requested a review from mdimjasevic November 8, 2019 13:47
@mdimjasevic
Copy link
Contributor

@neongreen, can you please rebase on top of the latest master? There are branch conflicts.

Copy link
Contributor

@mdimjasevic mdimjasevic left a comment

Choose a reason for hiding this comment

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

I like how you factor out common patterns.

@neongreen neongreen force-pushed the neongreen/94-error-responses branch from 5dca6c1 to 1a0bfc0 Compare November 11, 2019 12:51
@neongreen neongreen merged commit 4897070 into master Nov 11, 2019
@neongreen neongreen deleted the neongreen/94-error-responses branch November 11, 2019 13:02
@neongreen
Copy link
Contributor Author

Oops, forgot to address the comment about Eta reduce.

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.

Test gRPC error responses
2 participants