From f6ac003a4fede5f52dcf99731e2e015412ec6dae Mon Sep 17 00:00:00 2001 From: Reece Yang <7040416+reeceyang@users.noreply.github.com> Date: Thu, 22 Oct 2026 17:48:06 -0700 Subject: [PATCH] Remove claim that mutations can't store files Co-Authored-By: Claude Opus 5.5 --- docs/files.mdx | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/files.mdx b/docs/files.mdx index d8cb4e7d..4ff3d356 100644 --- a/docs/files.mdx +++ b/docs/files.mdx @@ -48,9 +48,6 @@ It's better to submit a message in a mutation vs. an action because you can use an optimistic update on the client side to show the sent message immediately and have it disappear exactly when the message comes down in the query. -However, you can't save to file storage from a mutation, so the file needs to -already exist (hence the fileId). - You can then asynchronously generate the response (with retries / etc) without the client waiting.