dify icon indicating copy to clipboard operation
dify copied to clipboard

Boolean ENV

Open DavideDelbianco opened this issue 4 months ago • 3 comments

Self Checks

  • [x] I have read the Contributing Guide and Language Policy.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report, otherwise it will be closed.
  • [x] Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Since booleans are supported in workflows anc chatflows, I would like to have boolean ENV too

Image

2. Additional context or comments

No response

3. Can you help us with this feature?

  • [ ] I am interested in contributing to this feature.

DavideDelbianco avatar Oct 01 '25 08:10 DavideDelbianco

I’d like to understand why Number 0 or 1 don’t cover your requirements. ;)

wellCh4n avatar Oct 12 '25 13:10 wellCh4n

Of course, I could use a number or even a string. Any language can use something else instead of boolean.

It is just for proper typing and to reflect the types available in environment files.

DavideDelbianco avatar Oct 13 '25 07:10 DavideDelbianco

Hi, @DavideDelbianco. I'm Dosu, and I'm helping the Dify team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You requested support for boolean environment variables (ENV) to complement existing boolean support in workflows and chatflows.
  • The goal is to have proper typing and better reflection of environment file types.
  • A question was raised about using numbers (0 or 1) as a workaround, but you clarified the need for accurate typing.
  • No contributions or further updates have been made on this request so far.

Next Steps:

  • Please let me know if this issue is still relevant to the latest version of Dify by commenting here.
  • If I don’t hear back within 15 days, I will automatically close this issue.

Thank you for your understanding and contribution!

dosubot[bot] avatar Nov 13 '25 16:11 dosubot[bot]