datetime and dateOnly types should be mapped to TypeScript Date
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- kotlin, typescript
- 领域
- tooling
调研方向
首先定位 TypeScript 模型生成器及其对 RAML 类型 datetime 和 dateonly 的映射。确认生成的模型当前如何表示这些类型,然后验证已完成的输出使用 TypeScript Date,并且仍可正确解析为 JSON。
由索引模型根据 Issue 内容生成。
描述
Our current TypeScript model generator maps the RAML types datetime and dateonlyto string. Since the TypeScript Date type maps to the JavaScript Date and can be correctly parsed/stringified as JSON, we should use it in our TypeScript model generator.
- 主要语言
- Kotlin
- 星标
- 16
- 派生
- 7
- 平均合并
- 2 天 8 小时
- 30 天内合并 PR
- 4
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
commercetools/rmf-codegen 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
commercetools/rmf-codegen#333 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
commercetools/rmf-codegen#323 ·
-
难度 3/5 1-2 天 新手友好度 48/100
commercetools/rmf-codegen#313 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
commercetools/rmf-codegen#306 · 5 条评论 ·
-
难度 4/5 3-5 天 新手友好度 40/100
commercetools/rmf-codegen#295 ·
查看 commercetools/rmf-codegen 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
SimonHalvdansson/Harmonic-HN#363 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
Automattic/pocket-casts-android#6095 ·
维护者通常 1 天内回复