Skip to content
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

Create a structure to represent the interview logic #907

Open
nonprofittechy opened this issue Dec 6, 2023 · 0 comments
Open

Create a structure to represent the interview logic #907

nonprofittechy opened this issue Dec 6, 2023 · 0 comments
Labels

Comments

@nonprofittechy
Copy link
Member

Right now, the interview order is just a list of strings. But ultimately in the output YAML, the author is going to add conditional logic to some screens. A list of strings doesn't work as well there.

Propose a simple tree structure:

["variable1", {"condition": "if x == 1", "children": ["variable2", "variable3"]}, "variable4"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant