-
Notifications
You must be signed in to change notification settings - Fork 805
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
[code-coverage] Generate code for matching client timeout wrapper #5771
[code-coverage] Generate code for matching client timeout wrapper #5771
Conversation
Codecov Report
Additional details and impacted files
... and 4 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Pull Request Test Coverage Report for Build 018e386e-4182-46f8-8d17-ce0c00d33dacDetails
💛 - Coveralls |
client/templates/timeout.tmpl
Outdated
@@ -70,3 +118,54 @@ func (c * {{$decorator}}) {{$method.Declaration}} { | |||
{{$method.Pass ("c.client.") }} | |||
} | |||
{{end}} | |||
{{end}} | |||
|
|||
{{/* ↓↓↓ Special Case APIs ↓↓↓ */}} |
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 suggest moving special case APIs out of generated code.
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. I left it in the current file and only took out the timeout logic
This reverts commit fa3207683ca8777d9a28984033e3931d00b2e342.
1432c0c
to
580c1de
Compare
What changed?
Update timeout template to Generate code in client/matching/client.go with gowrap
Why?
To reduce manual work when adding APIs
Improve code coverage
How did you test it?
unit tests
Potential risks
Release notes
Documentation Changes