Welcome Guest, Not a member yet? Register   Sign In
$this->validator->getValidated() looks stupid and unnecessary
#12

(10-09-2023, 01:56 PM)kenjis Wrote:
(10-09-2023, 08:35 AM)MrWhite Wrote: And we do it intentionally sometimes, because there are some situations that we dont want some fields to be validated.

In my understanding, all data always should be validated. No exception.
Why don't you want some fields to be validated?

There could be many examples. One that comes to mind, is an address field. Validating address fields is only asking for trouble...
Reply


Messages In This Thread
RE: $this->validator->getValidated() looks stupid and unnecessary - by Inc33 - 10-11-2023, 03:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB