@convex-dev/workflow@convex-dev/workflow. Code generation does not work as expected for the vWorkflowIdvWorkflowId validator. I am typing my schema as follows:vWorkflowIdvWorkflowId validator and the WorkflowIdWorkflowId type. Since this type is coming directly from ctx.db.queryctx.db.query I am not sure how to work around it. Note that this issue is observed also in convex function arguments, which makes it impossible to correctly pass a function handler in the onCompleteonComplete callback of workflows, since the onCompleteonComplete expects workflowId: vWorkflowIdworkflowId: vWorkflowId but the resulting type from a function this argument resolves to workflowId: stringworkflowId: string after the Static Code Generation.
Join the Discord to ask follow-up questions and connect with the community
Join the Convex Discord! Explore Convex, the backend platform that keeps your app in sync.
16,164 Members
Join