Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contents/docs/custom-mutators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ You can get the server result of a mutation with the `server` property of a muta
const { server } = await zero.mutate.issue.update({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks. no await here when getting the server promise iirc though.

CleanShot 2025-05-01 at 18 46 44@2x

id: 'issue-123',
title: 'New title',
}).server;
});

if (server.error) {
console.error('Server mutation went boom', server.error);
Expand Down