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

Redesign resource managers implementation #183

Open
LCaparelli opened this issue Oct 28, 2020 · 0 comments
Open

Redesign resource managers implementation #183

LCaparelli opened this issue Oct 28, 2020 · 0 comments
Assignees
Labels
enhancement 👑 New feature or request
Milestone

Comments

@LCaparelli
Copy link
Member

We should redesign resource managers implementations to make better use of first-class citizenship of functions in Go. This would allow us to concentrate much of the manager-specific business logic during its initialization (opposed to spreading them across multiple methods).

This could possibly also allow us to raise any necessary errors during initialization and remove errors from other methods of the Manager interface.

This would also allow us to control flow via iteration of functions instead of if and switch statements throughout a large portion of manager methods, simplifying the logic involved.

Should be worked on after #174, after validation logic settles.

@LCaparelli LCaparelli added the enhancement 👑 New feature or request label Oct 28, 2020
@LCaparelli LCaparelli added this to the v0.5.0 milestone Oct 28, 2020
@LCaparelli LCaparelli self-assigned this Oct 28, 2020
@ricardozanini ricardozanini modified the milestones: v0.5.0, v0.6.0 Dec 9, 2020
@ricardozanini ricardozanini modified the milestones: v0.6.0, v1.0.0, v0.7.0 May 31, 2021
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

No branches or pull requests

2 participants