Convert integer value exceeding the maximum numeric value in JavaScript to string
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, rails, ruby
调研方向
该 issue 涉及 JSON gem 中对存储为 bigint 并通过 Rails API 提供给 EmberJS 应用的值进行整数序列化。首先重现一个超出 JavaScript 最大数值的值,并跟踪 JSON gem 如何对其进行序列化。当 API 能够安全地将此类值提供给 JavaScript 消费者,并且有测试覆盖该行为时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
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?
- 主要语言
- Ruby
- 星标
- 787
- 派生
- 392
- 平均合并
- 6 小时 4 分钟
- 30 天内合并 PR
- 22
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ruby/json 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 42/100
维护者通常 1 天内回复
-
Audit excluded tests on JRuby and address differences可能已有人在做 @ojuschugh1 于 5 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 55/100
维护者通常 1 天内回复
-
Output formatting differences between jRuby 10.0.0.1 and Ruby 3.4 when converting Float to JSON.可能已有人在做 @headius 于 459 天前认领。 未关闭jruby
ruby/json#817 · 3 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
Don't cache JRuby runtime in static fields可能重新可做 @headius 于 736 天前认领,目前没有进行中的 PR。 未关闭jruby
ruby/json#707 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
SecureRandom.alphanumeric can silently return an empty or wrong-length secret instead of raising未关闭
难度 2/5 1-3 小时 新手友好度 67/100
ruby/securerandom#92 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
open-feature/ruby-sdk-contrib#340 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
zold-io/wts.zold.io#651 ·
维护者通常 1 天内回复
-
good first issue help wanted
难度 2/5 1-3 小时 新手友好度 87/100
erkamyaman/rust-anything#788 ·
维护者通常 1 天内回复