docs(query-db): design initial data semantics#1682
Conversation
|
Closing the design-only PR so this branch can proceed with the approved implementation and tests. |
|
Size Change: 0 B Total Size: 125 kB ℹ️ View Unchanged
|
|
Size Change: 0 B Total Size: 4.22 kB ℹ️ View Unchanged
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe design document defines eager ChangesQuery initial and placeholder data
Estimated code review effort: 1 (Trivial) | ~4 minutes ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
initialDataandinitialDataUpdatedAtfields while preserving existing cache seeding and hydration behaviorplaceholderDataobserver-local and out of DB materialization, ownership, and persistenceKey decisions
select; direct writes must not fabricate a reverse projection.Scope
Design and documentation only. No runtime behavior, public option forwarding, persistence format, or tests are changed.
Relates to #1643 and #346.
Verification
pnpm exec prettier --check docs/collections/query-initial-placeholder-data-design.mdgit diff --checkSummary by CodeRabbit
initialDataandplaceholderDatabehavior in query-backed collections.initialDatais supported for eager collections and treated as stored query data.