-
-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
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
Conditional questions #161
Comments
If the conditions are only based on boolean values, do we really need #90, i.e. templating? The Besides, when rendering So instead, I suggest using_smtp:
type: bool
default: no
smtp_host:
type: str
when: using_smtp It would be easier to implement as a first step, and still allow to enhance the behavior later with templating if needed. WDYT 🙂 ? |
Well, that's half true. Recent Jinja versions have the If we do this initial step and leave the fully templated Since #90 is in the roadmap too, I still think we should still implement #90 before. After it's done, this issue would be simpler and we'd still have full templating possibilities with not much more effort. |
Didn't know about this Then this totally makes sense as it will be possible to have conditionals like |
I guess this issue depends on #90 and it would let us declare questions to be conditional:
The text was updated successfully, but these errors were encountered: