Closed gunjpan closed 8 years ago
@bajtos : Here is the PoC for introducing integer
data types. PTAL and let's discuss if the direction is correct. Please note, CI will fail as it had six failing test cases on local, which will be fixed if we're moving further this direction
/cc @superkhau @raymondfeng
@gunjpan Looks mostly good 👍 Please add a unit-test for "array of integers", address my comments above and fix test failures. I think adding support for "integer" should not be a breaking change, i.e. all existing tests should keep passing.
@gunjpan there is one more thing we will need to do as part of fixing the issue, and that's adding new tests to rest-coercion integration tests in test/rest-coercion
. I slightly prefer to do it as part of this patch, to ensure we don't miss any edge case here, but I won't mind if you decide to do that in a follow-up pull request.
@bajtos : Previous comments addressed. PTAL at the latest commit. Thanks.
Two more comments, you are almost there :)
LGTM. Please squash the commits and wait for CI build to turn green before landing.
@slnode test please
@slnode test please
@bajtos: Landed. Do we need to backport it to 2.x?
all types of numbers, in Javascript, are of only one dataType:
Numbers
.This is a POCPatch to fix #317.Note: Breaks few test cases on localConnect to #317