zackiles/elasticsearch-odm

Validator doesn't respect double type values that don't have a decimal

Closed this issue · 0 comments

Validator values on fields with types marked 'double' when that number doesn't have a decimal. E.g Numbers like '2' should pass validation without being '2.0'