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

Make Actions Consistent and Remove Redundancies #19

Open
iamh2o opened this issue Jan 17, 2024 · 0 comments
Open

Make Actions Consistent and Remove Redundancies #19

iamh2o opened this issue Jan 17, 2024 · 0 comments
Assignees
Labels

Comments

@iamh2o
Copy link
Contributor

iamh2o commented Jan 17, 2024

The actions model is one of the more recently evolved bits of Bloom, and has had a few big changes. I feel it's settled down now, and would benefit from cleaning up NAMING of methods, removing a few redundant actions, probably splitting a few actions up, and certainly pulling out some common sub-action behavior (like, creating a thing, linking a thing to it, and so on, which happens in many actions.).

Actions started off as workflow_step related only, then also workflows, then all. As such, some actions might properly belong moved to a different object level, as I kind of messily instantiate bloom objects as bloom_obj_wfs still in many places.

A larger refactor should wait for a while longer to see how things shake out with how the actions stand now.

relatedly: These actions are natural API endpoint behaviors beyond object CRUD, how to expose them?

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