Closed wimil closed 3 years ago
Please rmerge pull request and release.
Thanx
push 💘
Is this project dead?
Please merge the laravel 8 support. Thanks!
@felixkiss Please merge
You can omit this package:
return [
'name' => 'string',
'email' => 'email',
'partner_id' => Rule::unique('users', 'partner_id')->where(function($query) {
$query->where('client_id', User::findOrFail($this->user)->client_id)
->where('id', '<>', $this->user);
}),
];
I tried to sum up a solution here: https://blog.cloudmonitor.dk/laravel-unique-validation-with-another-column
please do this when you can, thanks!
@felixkiss when is this going to be ready?
resolve #116