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

Validation not working. #11

Open
avlima opened this issue Sep 10, 2018 · 0 comments
Open

Validation not working. #11

avlima opened this issue Sep 10, 2018 · 0 comments

Comments

@avlima
Copy link

avlima commented Sep 10, 2018

Sent: http://localhost/api/profile/role?id=0&name=r&active=1&limit=2&paginate=1&page=AXA
I'm passing a string and it's still accepting

page is nullable or integer.

RoleDto {#359
  #items: array:6 [
    0 => "id"
    1 => "name"
    2 => "active"
    3 => "limit"
    4 => "paginate"
    5 => "page"
  ]
  #rules: array:6 [
    "id" => "nullable|integer"
    "name" => "nullable|string|max:255"
    "active" => "nullable|boolean|max:1"
    "limit" => "nullable|integer"
    "paginate" => "nullable|boolean|max:1"
    "page" => "nullable|integer"
  ]
  #subtypes: []
  #validation: true
}
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

No branches or pull requests

1 participant