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

Explore using ActiveModel to power Tasks with parameters #406

Closed
adrianna-chang-shopify opened this issue May 10, 2021 · 0 comments · Fixed by #413
Closed

Explore using ActiveModel to power Tasks with parameters #406

adrianna-chang-shopify opened this issue May 10, 2021 · 0 comments · Fixed by #413
Labels
enhancement New feature or request

Comments

@adrianna-chang-shopify
Copy link
Contributor

We've had a number of requests to support Tasks with parameters (more info in #325). A simple, Rails-flavoured approach to this could be to have Tasks include ActiveModel::Model and use attributes for parameters, which would integrate nicely with the UI and also allows Task authors to specify validations on their Task parameters.

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

Successfully merging a pull request may close this issue.

1 participant