Nested objects data not accessible
还没有人认领这个 Issue。
评估
调研方向
首先定位 Harvesting 的动态访问器生成方案,并检查 issue 中提到的 Harvest v2 嵌套对象是如何表示的。添加用于公开这些嵌套值的模型方法,然后验证对 project.client、user_assignment.project、user_assignment.user 和 time_entry.user 等示例的访问。
由索引模型根据 Issue 内容生成。
描述
The Harvest v2 API returns nested objects, e.g. project.client, user_assignment.project, user_assignment.user, time_entry.user, etc. Harvesting's dynamic accessor generation scheme only supports accessing a flat data structure. In order to access all the data returned via the Harvest v2 API, the Harvesting Models need methods that access nested data.
- 主要语言
- Ruby
- 星标
- 29
- 派生
- 30
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fastruby/harvesting 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 35/100
fastruby/harvesting#69 ·
-
Line Item Models未关闭Feature Request
难度 3/5 1-2 天 新手友好度 25/100
fastruby/harvesting#36 · 5 条评论 ·
-
enhancement
难度 1/5 1 小时以内 新手友好度 50/100
fastruby/harvesting#20 · 7 条评论 ·
查看 fastruby/harvesting 的全部 Issue
相似的 Issue
-
area: cli enhancement
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
mail processing verified
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 7 天内回复
-
L: github:actions L: php:composer
难度 2/5 1-3 小时 新手友好度 88/100
dependabot/dependabot-core#16493 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
doorkeeper-gem/doorkeeper-openid_connect#409 · 1 条评论 ·
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
puppetlabs/pdk-templates#676 ·
维护者通常 1 天内回复