You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: create separate cache entries for non-exported queries (#14499)
* fix: create separate cache entries for non-exported queries
* fix
* remove
* rename
* DRY out
* more
* tidy up
* unused
* update docs to use a non-exported query instead of caching on locals
* Update .changeset/soft-emus-fry.md
Co-authored-by: Tee Ming <[email protected]>
* Update packages/kit/src/runtime/app/server/remote/query.js
---------
Co-authored-by: Simon H <[email protected]>
Co-authored-by: Tee Ming <[email protected]>
Note that some properties of `RequestEvent` are different inside remote functions. There are no `params` or `route.id`, and you cannot set headers (other than writing cookies, and then only inside `form` and `command` functions), and `url.pathname` is always `/` (since the path that’s actually being requested by the client is purely an implementation detail).
0 commit comments