Skip to content

Conversation

@mohammadRezaei1380
Copy link

This pull request introduces a new section to the Laravel validation documentation that explains the distinct validation rule. The distinct rule ensures that all values in an array input are unique, addressing a common validation requirement.

The new section provides a clear explanation along with example code demonstrating how to use the distinct rule with array inputs, helping developers better understand and apply this validation rule effectively.

This addition improves the clarity and completeness of the validation documentation without affecting any existing functionality.

@AhmedAlaa4611
Copy link
Contributor

I think this is documented in https://laravel.com/docs/12.x/validation#rule-distinct

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.

3 participants