We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
input_parameters
default
The deno-slack versions
deno-slack
"deno-slack-hub/": "https://deno.land/x/[email protected]/", "deno-slack-sdk/": "https://deno.land/x/[email protected]/", "deno-slack-api/": "https://deno.land/x/[email protected]/"
Deno runtime version
deno 1.44.4 (release, x86_64-unknown-linux-gnu) v8 12.6.228.9 typescript 5.4.5
OS info #22~22.04.1-Ubuntu SMP Tue Apr 30 16:08:18 UTC 2024
#22~22.04.1-Ubuntu SMP Tue Apr 30 16:08:18 UTC 2024
Describe the bug
The default for parameters in input_parameters is not used
Steps to reproduce
#workflows/example.ts export const ExampleWorkflow = DefineWorkflow({ ... input_parameters: { properties: { duration: { type: Schema.types.integer, default: 30, }, }, }, }); ExampleWorkflow.addStep( Schema.slack.functions.SendMessage, { channel_id: <Channel>, message: `${ExampleWorkflow.inputs.duration}`, } );
Expected result
Outputs message: "30"
Actual result
parameter_validation_failed - Null value for non-nullable parameter `message`
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered:
Yup, seems like a legit problem. I will raise this internally.
Sorry, something went wrong.
No branches or pull requests
The
deno-slack
versionsDeno runtime version
OS info
#22~22.04.1-Ubuntu SMP Tue Apr 30 16:08:18 UTC 2024
Describe the bug
The default for parameters in
input_parameters
is not usedSteps to reproduce
Expected result
Outputs message: "30"
Actual result
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: