poppinss / indicative

Indicative is a simple yet powerful data validator for Node.js and browsers. It makes it so simple to write async validations on nested set of data.
https://indicative.adonisjs.com/
MIT License
417 stars 52 forks source link

toNumber sanitizer #223

Closed padinko closed 5 years ago

padinko commented 5 years ago

Why this feature is required (specific use-cases will be appreciated)?

API can get real number, I need to Number.parseFloat() in controller instead of validator like in toInt sanitizer

thetutlage commented 5 years ago

Issue doesn't adhere to the guidelines of creating a proper issue.

  1. Make sure that you are only reporting bugs or submitting feature requests on Github.
  2. In case of feature requests, please be descriptive and explain how this feature helps a broader audience and not just you.

If you are not submitting a bug and neither a feature request, then please use the forum or discord server

In any case, issues which are not descriptive enough will be closed. Please respect our time.