Closed tra4less closed 1 year ago
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.
Also cc @linzhp and @r-hang
@sywhang thanks, your advice is effective.
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.
yup, I'll be tagging a version with this along with a few other changes some time this week. Thanks.
get
migrate from https://github.com/golang/mock/pull/630 more: https://github.com/golang/mock/issues/622 https://github.com/golang/mock/issues/427 https://github.com/golang/mock/issues/634 https://github.com/golang/mock/issues/657