Repository navigation
补 (:open …) 理由以通过 Calcit 0.39 / Add (:open …) reasons for Calcit 0.39 - #107
Conversation
Calcit 0.39.0 rejects AnyEnum/AnyFn/AnyStruct in a Fn schema without an (:open …) reason (E_OPEN_WITHOUT_REASON, calcit#2635). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019bPdumFbDJPBLciCYrQ6MN
|
No actionable comments were generated in the recent review. WalkthroughThe Changesdispatch-view! schema
Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Other Possibly related PRs
Suggested reviewers: Merge Risk:
|
Requested by Jon · project thread
升级到 Calcit 0.39.0 后,这个库无需改代码即可通过检查:0.39.0 起,项目
Fnschema 里用到AnyEnum/AnyFn/AnyStruct而没有写(:open …)理由时报E_OPEN_WITHOUT_REASON(calcit-lang/calcit#2635)。本 PR 只给这些已审阅的签名补上理由,类型和运行行为都不变;(:open …)从 Calcit 0.37.0 起就能解析,当前锁定的版本可以直接合并。改动
docs-workflow.main/dispatch-view!:接收视图层派发的匿名操作,用try-decode-map-as解码成docs-workflow.schema/Op,标(:open :decode)。测试
只改 schema 选项,交给本仓库 CI;在 Calcit main(0.39.0 待发布)上用
calcit query schema确认新 schema 能正常加载。English
Calcit 0.39.0 rejects
AnyEnum/AnyFn/AnyStructin a projectFnschema without an(:open …)reason (calcit-lang/calcit#2635). This adds the reason to the reviewed open signatures listed above. Types and runtime behaviour are unchanged, and(:open …)parses since Calcit 0.37.0.Generated by Claude Code
Summary by CodeRabbit