RonasIT / laravel-entity-generator

6 stars 3 forks source link

Remove required rule for search request with required boolean field #33

Open DenTray opened 1 year ago

DenTray commented 1 year ago

After generating entity with -B option (generate boolean required field) if use the required validation rule for this field in the search request

image

in fact it disallows to pass false value here

Also we need to remore required validation rule on create request for the boolean fields aswell. It should add present valdiation rule

yogyrton commented 11 months ago

@DenTray Done. Check it please

KonstantinLapkovsky commented 10 months ago

@DenTray done! Please check it

DenTray commented 10 months ago

@KonstantinLapkovsky great, thanks! works as expected now!