Skip to content
This repository was archived by the owner on Nov 5, 2021. It is now read-only.

Auto cast bool type variable into string #1

Open
manhtlu opened this issue May 3, 2019 · 0 comments
Open

Auto cast bool type variable into string #1

manhtlu opened this issue May 3, 2019 · 0 comments

Comments

@manhtlu
Copy link

manhtlu commented May 3, 2019

When I send a request to the server (laravel) with a parameter of boolean type, the server will receive it as a string:

true => 'true',
false => 'false'. 

How do I solve this problem? Thank you for reading !

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

No branches or pull requests

1 participant