Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Max Integer #3

Open
andrewdeandrade opened this issue Jul 20, 2012 · 0 comments
Open

Max Integer #3

andrewdeandrade opened this issue Jul 20, 2012 · 0 comments

Comments

@andrewdeandrade
Copy link

Don't know if this is something worth mentioning in the readme, but if the id param is coerced into a number with app.param('id', Number); then they need to make sure that the id is always less than 9007199254740992, which is javascript's maxint.

Any ids greater than maxint would need to be handled with a lib like substack's https://github.com/substack/node-bigint

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