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

Undo deprecation of Controller.Finish() #85

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Undo deprecation of Controller.Finish() #85

merged 1 commit into from
Sep 15, 2023

Conversation

sywhang
Copy link
Contributor

@sywhang sywhang commented Sep 15, 2023

We're about to release a new version, and we need to reach some more consensus on this decision. Undoing this deprecation for the time being for v0.3.0 release.

Ref: #84.

We're about to release a new version, and we need to reach some more
consensus on this decision. Undoing this deprecation for the time
being for v0.3.0 release.

Ref: #84.
@sywhang sywhang merged commit 121b19b into main Sep 15, 2023
4 checks passed
@sywhang sywhang deleted the undo-deprecation branch September 15, 2023 23:16
sywhang added a commit to sywhang/mock that referenced this pull request Jul 10, 2024
Finish no longer has to be explicitly called on Controller with defer
if the Controller was created with testing.T.

We tried to just mark this as deprecated in uber-go#50 but doing so would break
many users, so we reverted it in uber-go#85.

In doing so we dropped some wordings from the doc that marked Finished
as unnecessary for most cases.

This PR fixes the docstring to guide users without explicitly marking
the API deprecated.
sywhang added a commit that referenced this pull request Jul 10, 2024
Finish no longer has to be explicitly called on Controller with defer if
the Controller was created with testing.T.

We tried to just mark this as deprecated in #50 but doing so would break
many users, so we reverted it in #85.

In doing so we dropped some wordings from the doc that marked Finished
as unnecessary for most cases.

This PR fixes the docstring to guide users without explicitly marking
the API deprecated.
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.

2 participants