Skip to content

feat: add boolean rule to the core rules - #126

Merged
emsifa merged 3 commits into
rakit:masterfrom
devhammed:feat/add-boolean-rule
Aug 27, 2020
Merged

feat: add boolean rule to the core rules#126
emsifa merged 3 commits into
rakit:masterfrom
devhammed:feat/add-boolean-rule

Conversation

@devhammed

Copy link
Copy Markdown
Contributor

This pull request adds the boolean rule to the core rule, modelled after Laravel's boolean rule that accepts true, false, 1, 0, "1", and "0".

closes#113

@devhammeddevhammed mentioned this pull request Aug 24, 2020
@emsifa

Copy link
Copy Markdown
Member

LGTM, nice.

@emsifa
emsifa merged commit ff003a3 into rakit:masterAug 27, 2020
@devhammed
devhammed deleted the feat/add-boolean-rule branch August 27, 2020 08:29
Sign up for freeto 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.

Boolean validation

2 participants

@devhammed@emsifa