Closed nunomaduro closed 10 months ago
Fixes: https://github.com/livewire/volt/pull/67. Test suite failing because of: https://github.com/livewire/volt/pull/70.
This pull request fixes an issue with the rules function where is not possible to defer the rules resolution like so:
rules
rules(fn () => [ 'name' => ['required', 'min:6'], 'email' => ['required', 'email', 'not_in:'.Auth::user()->email] ]);
Fixes: https://github.com/livewire/volt/pull/67. Test suite failing because of: https://github.com/livewire/volt/pull/70.
This pull request fixes an issue with the
rules
function where is not possible to defer the rules resolution like so: