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

fix(kv): Install feature-flag for switching between normal and simplified options parsing #18662

Merged
merged 1 commit into from
Jun 23, 2020

Conversation

brettbuddin
Copy link
Contributor

This installs a feature-flag to switch between normal options parsing and a simplified variant. In this simplified version, we are doing a naive extraction of the content option task = { ... } and passing that through the options extractor on its own. This allows for tasks that use functions like tableFind to be saved correctly.

An obvious drawback of this approach is that functions cannot be used to create the RHS of the assignment. Since most people don't do this, we should be safe until the Flux team provides some APIs for us to consume that do this extraction in a static manner.

@brettbuddin brettbuddin force-pushed the bb/task-options-extraction branch 2 times, most recently from 2fa6243 to 0863f63 Compare June 23, 2020 13:10
@brettbuddin brettbuddin force-pushed the bb/task-options-extraction branch from 0863f63 to 23b1825 Compare June 23, 2020 13:11
@brettbuddin brettbuddin requested review from a team, GeorgeMac and aanthony1243 and removed request for a team June 23, 2020 13:12
Copy link
Contributor

@GeorgeMac GeorgeMac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@brettbuddin brettbuddin merged commit 81e4b02 into master Jun 23, 2020
@brettbuddin brettbuddin deleted the bb/task-options-extraction branch June 23, 2020 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants