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

Revert disallowing private lifecycle methods #3242

Closed
2 tasks done
marcphilipp opened this issue Apr 13, 2023 · 3 comments
Closed
2 tasks done

Revert disallowing private lifecycle methods #3242

marcphilipp opened this issue Apr 13, 2023 · 3 comments

Comments

@marcphilipp
Copy link
Member

marcphilipp commented Apr 13, 2023

In #2914 validation was added to fail when encountering private lifecycle methods. Since we've received reports from multiple users that this broke tests for them, we should revert this change. Instead, we should document that using private for lifecycle methods is discouraged and support for them is likely to be removed in the next major release.

Deliverables

  • Revert validation for private lifecycle methods
  • Document private as being discouraged
@sbrannen
Copy link
Member

Reopening to backport to 5.9.3.

@sbrannen sbrannen reopened this Apr 22, 2023
marcphilipp added a commit that referenced this issue Apr 22, 2023
Document using private as being strongly discouraged.

Resolves #3242.

(cherry picked from commit 594f7e4)
@marcphilipp
Copy link
Member Author

Cherry-picked to the releases/5.9.x branch.

@sbrannen
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants