You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When calling a workflow of type Action from TypeScript, one needs to use the promiseRequest function, hard-coding the name of the action, and having to look it up.
This leads to possible issues by mis-typing, and if the name changes.
Additionally, promiseRequest accepts a parameter of type object, which secretly has to be a stringifyed JSON object.
Describe the solution you'd like
The context generator should create stubs for any actions found, with defined types for the input and output parameters for the actions.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When calling a workflow of type Action from TypeScript, one needs to use the
promiseRequest
function, hard-coding the name of the action, and having to look it up.This leads to possible issues by mis-typing, and if the name changes.
Additionally,
promiseRequest
accepts a parameter of typeobject
, which secretly has to be a stringifyed JSON object.Describe the solution you'd like
The context generator should create stubs for any actions found, with defined types for the input and output parameters for the actions.
The text was updated successfully, but these errors were encountered: