Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset validation: piggyback on Laravel validation rules #3922

Merged

Conversation

arthurperton
Copy link
Contributor

@arthurperton arthurperton commented Jun 29, 2021

Fixes #3820.

I applied this more generic approach to all the replaced validation rules. It is reusing the actual Laravel rules instead of imitating them. It feels like a better solution and I hope it is okay to access the actual asset files like this.

Copy link
Member

@jasonvarga jasonvarga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice solution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dimensions validation doesn't work
2 participants