Repository navigation
用具体键类型约束 Timegrass 的导入数据 - #29
Merged
Merged
Conversation
grab-info 的 tasks/working/finished 和 notes 不再使用 Map Dynamic Dynamic: 顶层 tasks 使用 Tag 键,任务/笔记表使用 String 键,值保持开放。 状态读取和分组行为不变,导入数据里非法键会更早报错。
read-info 的 legacy 顶层 Map 与 read-task-entry 的任务 Map 改为 Map Tag Dynamic,剩余的 Dynamic 只保留在具体值上。
Member
Author
|
追加:read-info 的 legacy 顶层 Map 与 read-task-entry 的任务 Map 也改为 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
对使用者的影响
Timegrass 导入 JSON 后的任务、笔记、分组和统计结果不变;
tasks顶层使用 Tag 键,任务/笔记表使用 String 键,值仍然开放。导入数据里出现非法键时会得到更明确的解码错误。改动与风险
grab-info的tasks-map从Map Dynamic Dynamic改为Map Tag Dynamic。working、finished、notes改为Map String Dynamic,对应任务/笔记 id。:tasks/:notes和 id 字符串。验证
calcit calcit.cirru --check-only --all-defs:0 failedcalcit calcit.cirru test --require-match --summary-only:3 passedcalcit calcit.cirru fix --workflow strict --verify:passedcalcit calcit.cirru jscodegen 通过