thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.72k stars 2.67k forks source link

Remove validation of BREAD when the request is of tagging #5779

Open JdSeus opened 11 months ago

JdSeus commented 11 months ago

I was working with tags in a model and suddenly it stopped working.

After some research I found that Voyager was trying to use the same validation rules that were in the BREAD of my tag model.

As the tag creation will try to pass only the display column, I don't think it should go through the BREAD validation.

This pull request will keep the BREAD validation only when the request is not of tagging.