Commit 02479cc
database-loader.test.ts 的 mock driver 把九个 off-spec 键写进 `supports`:
四个已被 #4634 退役并 tombstone 为 `never`(transactions/joins/streaming/
fullTextSearch),另外五个从来就不是 `DriverCapabilitiesSchema` 的键
(aggregations/bulkOperations/nestedObjects/geoQueries/changeStreams)。
没有任何读者,唯一效果是被下一个照抄 mock 的作者复制。
`DriverCapabilities` 的每一位都是 optional,所以空广告即合法广告
(spec 侧 driver.test.ts 已有 `supports: {}` 的对照用例)。
Claude-Session: https://claude.ai/code/session_01KDU3qAuJyajAQm3GkUXdfA
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent d4df105 commit 02479cc
1 file changed
Lines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
0 commit comments