-
Notifications
You must be signed in to change notification settings - Fork 118
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
support type-safe return values #11
Conversation
can we finally have this feature 😭 |
Thank you for submitting this PR. I'll try to get some time to go over this some time later this week or early next week. High level thoughts - My vote is 👍 for this feature - we've been using a different mocking library internally at Uber that supports type safe return values, and lack of this feature has been a big headache for us as well. Preventing breaking changes through CLI flag also looks good to me. |
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.
Thank you for the work! Left couple of comments for readability, otherwise looks good to me.
Co-authored-by: Sung Yoon Whang <[email protected]>
Co-authored-by: Sung Yoon Whang <[email protected]>
@sywhang thanks, your advice is effective. |
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.
lgtm
Could you please tag this PR? Thank you! @sywhang |
yup, I'll be tagging a version with this along with a few other changes some time this week. Thanks. |
get |
migrate from golang/mock#630
more:
golang/mock#622
golang/mock#427
golang/mock#634
golang/mock#657