-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[2.1.x] Phalcon/Mvc/Model/Validator namespace #11887
Comments
We declared as deprecated valdators from |
https://github.com/phalcon/cphalcon/blob/master/phalcon/mvc/model/validator.zep construct method looks the same. I know if we will try to use code from 2.0.x |
Refs: #12098 |
Yea, we need to mark it as deprecated, possibly add option to use both validation ways and remove old validation in 4.0.0. Like change validate method to accept both Just in my opinion in 3.1.0:
In 3.2.0 make deprecated methods(so it will |
This has already been addressed |
Why we keep this namespace ? Is there any way to use old validation in models ? I don't see it,
validate
method accepts only Phalcon\ValidationInterface.At least we should trigger deprecated and inform that this is deprecated and Phalcon\Validation can be used only on creating of any validator.
The text was updated successfully, but these errors were encountered: