How do I use validation requests?

To use a custom validation request, we have to replace the request that is passed to the controller function we wish to affect.

Change from:

public function updateAddress(Request $request, Customer $customer)

Change to:

public function updateAddress(UpdateAddressRequest $request, Customer $customer)

Revision #1
Created 2026-09-02 13:29:13 UTC by Michael Price
Updated 2026-09-02 13:29:13 UTC by Michael Price