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

Change configs to use decorators instead of the Validateable interface #72

Open
51-code opened this issue Aug 14, 2024 · 0 comments
Open
Labels
feature Existing feature

Comments

@51-code
Copy link

51-code commented Aug 14, 2024

Description

Currently the Config objects all implement the Validateable interface. This requires that the validate() function is called before using the config, so a better way would be to create ValidatedConfig objects for each and use them as decorators.

Would require writing the validations for each config, for now only PayloadConfig and RelpConfig have implemented the validation functions.

@51-code 51-code added the feature Existing feature label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Existing feature
Projects
None yet
Development

No branches or pull requests

1 participant