We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Modularity of documentation

Why documentation of Phalcon\Mvc\Model\Validator is repeated in multiple palaces. These make reader confused. Also they are not identical (Uniqueness and Numericality are only mentioned in https://docs.phalcon.io/en/latest/reference/models.html) Please centralize it in https://docs.phalcon.io/en/latest/reference/validation.html. and link to it in other places.

Also Uniqueness validator does not work with collection class.



98.9k

In the ODM section, it's listed what validators are supported by the ODM, same thing for the ORM. The Uniqueness validator is not supported by the ODM.



22.1k

But in the ODM example you used Uniqueness validator. Do you plan to support Uniqueness validator by the ODM? What about Numericality?

Yet it's better that you centralize its documentation and note there any restriction in using some validators.

Thanks.