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

[5.6] Add new comparison validation rules #24091

Merged
merged 2 commits into from
May 3, 2018
Merged

[5.6] Add new comparison validation rules #24091

merged 2 commits into from
May 3, 2018

Conversation

Alymosul
Copy link
Contributor

@Alymosul Alymosul commented May 3, 2018

Modified #23807 to handle 'equals to' and support passing of integers, note that i only allow passing of integers only when the field under comparison is of the integer type

@taylorotwell taylorotwell merged commit 47580bf into laravel:5.6 May 3, 2018
@taylorotwell
Copy link
Member

These will need new language lines in the laravel/laravel repository. Thanks.

@browner12
Copy link
Contributor

why are we using shortened names for this? Why not 'greaterThan' instead of 'gt', just like all the other rules? seems very unintuitive, and unlike everything else we see in the framework.

@TBlindaruk
Copy link
Contributor

@Alymosul , Could you please create a PR for docs repository?

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.

None yet

4 participants