andersao / andersao/l5-repository
Validation does not work when added directly to repository
Offen
question
- Vorherrschende Sprache
- PHP
- Sterne
- 4.2k
- Forks
- 880
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
The validation part is not working when using directly in the repository with the validator function as in the example, even though you have added "prettus / laravel-validation": "1.1. *" In the composer, it only works if you call the controller. Laravel version 5.5
```php
/**
* Specify Validator class name
*
* @return mixed
*/
public function validator()
{
return LotValidator::class;
}
```
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.