Repository navigation
4.10.0
Added
- For the
BelongsToMany,MorphToManyfields now you can specify validations rules using:
BelongsToMany::make('roles', 'roles', RolesRepository::class)->validationCallback(fn(Request $request) => ....))
- Added
->unique()toBelongsToManykind fields, so you can validate unicity of your pivot table entries. - Fixed
$withsproperty for repositories when force eager loading.