Commit e91e02b
fix(angular-db): config-object input to injectLiveQuery now syncs
The `{ query }` config-object branch called createLiveQueryCollection(opts)
without defaulting startSync, unlike the query-fn and reactive-options branches
(which force startSync: true). A bare `{ query }` therefore never synced and
returned empty. Default startSync: true and gcTime: 0 while honoring explicit
values in the config.
Clears the angular-db conformance knownGap (config-object-input).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent bed14e6 commit e91e02b
3 files changed
Lines changed: 12 additions & 9 deletions
File tree
- .changeset
- packages/angular-db
- src
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
198 | 200 | | |
199 | | - | |
| 201 | + | |
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
| 217 | + | |
224 | 218 | | |
225 | 219 | | |
226 | 220 | | |
| |||
0 commit comments