FigloaldsF
Convex Community6mo ago
1 reply
Figloalds

ctx.runAction not type inferring correctly for internalActions when called from an httpAction

These functions are in the same file oauthClients.ts

The type inference for runAction is trying to show me queries, but I intend to use an action
Also it deploys to the local server and even works, the error is only on the editor

First picture the inference error
Second picture the internalAction I'm tring to reference
Third picture the ctrl space showing the list of "valid" candidate "actions"
Fourth picture the thing it's referencing as "valid" "action" is a query
image.png
image.png
image.png
image.png
Was this page helpful?