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

Should resources own their own logic? #63

Open
Eagerod opened this issue Feb 25, 2022 · 0 comments
Open

Should resources own their own logic? #63

Eagerod opened this issue Feb 25, 2022 · 0 comments

Comments

@Eagerod
Copy link
Owner

Eagerod commented Feb 25, 2022

Right now, the Resource type is a pretty bare struct bones struct.

#62 (comment) mentions that the use of the Resource type is getting pretty extensive, and it may be getting closer and closer to the time where Resources should own the logic that drives them. Don't know if it needs to go all out, and be implemented with embedding a core resource in a bunch of different structs that use their individual slices of properties, and each know how to validate themselves.

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

No branches or pull requests

1 participant