Commit edddf61
fix objectql build: cast hookContext.input.data to Record<string, unknown>
IDataDriver.create/update/updateMany require Record<string, unknown> but
HookContext.input is Record<string, unknown> making .data typed as unknown.
Added explicit casts at the 3 call sites in engine.ts (lines 901, 952, 955).
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Agent-Logs-Url: https://github.com/objectstack-ai/spec/sessions/f6a26f6f-89b7-44f6-a67a-52714bd9c1a61 parent c9c1c51 commit edddf61
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
898 | 898 | | |
899 | 899 | | |
900 | 900 | | |
901 | | - | |
| 901 | + | |
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
952 | | - | |
| 952 | + | |
953 | 953 | | |
954 | 954 | | |
955 | | - | |
| 955 | + | |
956 | 956 | | |
957 | 957 | | |
958 | 958 | | |
| |||
0 commit comments