Closed Chubby-Chocobo closed 6 years ago
I would argue that it's only checkit
s job to validate your values, not to modify or use them in any way. In the interest of keeping the module focused, it's probably better if you convert the value yourself after the validation has passed.
It's ok then.
Hi, I'm using Checkit in my web project to validation the request's parameters like this:
But the type of
params.id
is still string. I want it to be integer actually. or another case:with
parseableNumericArray
is a customized validation. I think ifparams.tags
can be array of number instead of string after validation, it would be great.Can we do that with Checkit currently? Or can I make a pull request? Is this project being maintained? I see it's a while since the last update... Thanks for your attention.