convexServerMutation
Calls a deployed Convex serverMutation function by path — the write-side companion of
. Every seam write performs exactly ONE call through this transport (one
Convex transaction), which the single-mutation gate in lib/single-mutation-gate.ts enforces.
Signature
function convexServerMutation(name: string, args: Record<string, unknown>): Promise<Result>;Parameters
| Name | Type | Description |
|---|---|---|
name | string | |
args | Record<string, unknown> |
Returns
The function's result.
Throws
Related
FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme
convexIdentityQuery
Calls a deployed Convex query by path on an identityauthenticated client — the readside companion of . No serverSecret is injected: the callee is expected to be
convexServerQuery
Calls a deployed Convex serverQuery function by path (e.g. db/shops:byDomain), injecting the shared serverSecret the servertrust constructor requires. This is t