fix(shared): type multi-relation includes5 days agof5e8e4c
fix(core): omit function options from cache markers for SSR stability
Markers embedded a per-process random function id, so markers computed
during SSR never matched the client's recomputation and every
function-bearing query refetched on hydration (delaying Suspense
hydration). No function id survives the SSR boundary — reference
identity is process-local and server/client bundles transform the same
source differently — so markers now omit function-valued options
entirely. Safe because function options only filter the cache
client-side; fetched data is driven by the serializable options, which
stay in the marker. Dedupe keys keep per-process function identity, so
distinct filter functions still never share an in-flight promise.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>2 weeks ago384b3ba