-
Notifications
You must be signed in to change notification settings - Fork 824
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
Deprecate DataExtension and other superfluous classes #11050
Comments
Not sure about this one. The empty methods on Minimally, updateSummaryFields and updateFieldLabels seem to be doing a little something. |
If we think that's important, we should have a policy to document them (perhaps updating the API docs to pick up on and document them automatically). Having empty classes to pick up the slack of documentation is an anti-pattern.
Enforcing their signature is actually bad for us, because it makes the method signature of extension hooks part of our public API that we can't alter outside of major releases and therefore we can't add new arguments to them. |
These extension methods really do feel like old code that should have been removed a long time ago |
CMS 5 PRs merged. Reassigning to Steve to rebase CMS 6 PRs |
PRs merged |
The convention has been to use DataExtension instead of Extension for DataObjects
DataExtension adds a bunch of extra methods and shouldn't be used, Extension should be used instead
Acceptance criteria
DataExtension
SiteTreeExtension
LeftAndMainExtension
Extension
subclassesExtension
directly insteadCMS 5 PRs
CMS 6 recipe-kitchen-sink multi PR CI
CMS 6 PRs - merge, merge-up and rebase CMS 5 PRs first
The text was updated successfully, but these errors were encountered: