Closed jbrooksuk closed 1 year ago
After mulling it over for a bit, I think DTOs are over complicated for the use-case here. Each controller method needs to validate the input, as such, we can pass an array of validated data into the action.
Currently waiting on https://github.com/spatie/laravel-query-builder/issues/889
After mulling it over for a bit, I think DTOs are over complicated for the use-case here. Each controller method needs to validate the input, as such, we can pass an array of validated data into the action.
Currently waiting on https://github.com/spatie/laravel-query-builder/issues/889