Skip to content

Commit 4961d4c

Browse files
authored
docs: remove outdated note (#14586)
1 parent d661559 commit 4961d4c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

documentation/docs/20-core-concepts/60-remote-functions.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -975,8 +975,6 @@ export const getStuff = query('unchecked', async ({ id }: { id: string }) => {
975975
});
976976
```
977977
978-
> [!NOTE] `form` does not accept a schema since you are always passed a `FormData` object. You are free to parse and validate this as you see fit.
979-
980978
## Using `getRequestEvent`
981979
982980
Inside `query`, `form` and `command` you can use [`getRequestEvent`]($app-server#getRequestEvent) to get the current [`RequestEvent`](@sveltejs-kit#RequestEvent) object. This makes it easy to build abstractions for interacting with cookies, for example:

0 commit comments

Comments
 (0)