$this->_rulesFactory = new RulesFactory( new RuleExtensionRegistry(), $this->_errorTemplateRegistry, new Compiler() ); $this->_validator = new Validator($this->_rulesFactory); $this->_validator->field('email')->required()->email("uniqe");
I used this code and getting this error in the postman
"message": "No rule extension with name "uniqe" exists",
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
You need to mention the table name, from where you want to check the email.