Convert integer value exceeding the maximum numeric value in JavaScript to string
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 782
- Forks
- 383
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 10
Description
We have an issue with integer values served by our Rails API and consumed by EmberJS app. They are stored in the DB as bigint and they exceed the maximum numeric value in JavaScript.
Isn't it something that should be handled by this gem?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue concerns integer serialization in the JSON gem for values stored as bigint and served through a Rails API to an EmberJS app. Start by reproducing a value beyond JavaScript's maximum numeric value and tracing how the JSON gem serializes it. Done means the API delivers such values safely to JavaScript consumers, with tests covering the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, rails, ruby
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100