-
Notifications
You must be signed in to change notification settings - Fork 0
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
#103 Enabled SaaS connections #104
Conversation
[CKey.saas_url, CKey.saas_token, CKey.saas_account_id], | ||
[CKey.saas_database_id, CKey.saas_database_name] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about adding an explicit signal to the values?
E.g.
{"all": [CKey.saas_url, CKey.saas_token, CKey.saas_account_id]},
{"any": [CKey.saas_database_id, CKey.saas_database_name]},
In this example I used dicts, but it could also be simple lists with the first element being a simple string with the semantics to trigger the bool-func.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it will complicate both the data structure and the explanation of what it should be. It is already more generic than it is practically needed. Currently, I've got at most one group of options. I'd rather leave it as it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
already more generic than it is practically needed
probably, yes 🙂
Applying suggestions from the review Co-authored-by: Christoph Kuhnke <[email protected]>
closes #103