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
Use Model::findById()
instead of Model::findByPk()
#6916
Conversation
Certainly for 5.4 and not 5.3. |
We have added deprecations in bugfix versions in the past, haven't we? |
If there was a need - where is it here? |
The earlier deprecations are added the better I thought, no? |
It's just a super useless change affecting 123 files in a bugfix release that wouldn't harm merging only in 5.4 - that's all I'm saying. |
No, 5.3 is correct. We have added #6912 to the Also, we certainly don't want the LTS version to use |
But the issue is up for discussion. We might as well leave things as they are. |
We’d have to deprecate Same with |
Yes, we would. |
As discussed in the Contao call, we want to use |
Model::findByPk()
logicModel::findById()
instead of Model::findByPk()
As suggested in #6912 (comment).