You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why does validated throw an exception, is this not duplicating the functionality of validate?
If I only care about the fields that are validated, I don't want an exception to be thrown, if I wanted that, I would use validate()
Why was the api changed from Laravel 6 - to me, this api performs what it's designed to do. Was version 6's functionality put into a new function that I'm missing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
framework/src/Illuminate/Contracts/Validation/Validator.php
Lines 18 to 25 in 20137ae
Why does validated throw an exception, is this not duplicating the functionality of validate?
If I only care about the fields that are validated, I don't want an exception to be thrown, if I wanted that, I would use
validate()
Why was the api changed from Laravel 6 - to me, this api performs what it's designed to do. Was version 6's functionality put into a new function that I'm missing?
framework/src/Illuminate/Contracts/Validation/Validator.php
Lines 16 to 21 in e18f414
Beta Was this translation helpful? Give feedback.
All reactions