Skip to content

Commit

Permalink
Allow component functions to be called from node actions (#29821)
Browse files Browse the repository at this point in the history
This PR adds support for calling component queries, mutations, actions, and scheduling component functions from node actions.

GitOrigin-RevId: 81f1f22055b6ae0911144fbcb7f2a5b6e82e8cc7
  • Loading branch information
emmaling27 authored and Convex, Inc. committed Sep 12, 2024
1 parent 49bca87 commit 3d32cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/impl/actions_impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function syscallArgs(
export function getFunctionAddress(functionReference: any) {
// The `run*` syscalls expect either a UDF path at "name" or a serialized
// reference at "reference". Dispatch on `functionReference` to coerce
// it to one ore the other.
// it to one or the other.
let functionAddress;

// Legacy path for passing in UDF paths directly as function references.
Expand Down

0 comments on commit 3d32cfd

Please sign in to comment.