Closed
Description
Currently the "singular filter" feature works on a per filter basis. In the old library the isSearchOne
function existed on the adapter in which a more complex logic could be written, for example in the case of a composite primary key.
protected function isSearchOne(Collection $filters): bool
{
if ($filters->has('userId') && $filters->has('clientId')) {
return true;
}
return false;
}
I'm not aware if/how the same thing can be achieved with this package.