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

Add validations for model structure #23

Open
kwrooijen opened this issue Aug 26, 2020 · 0 comments
Open

Add validations for model structure #23

kwrooijen opened this issue Aug 26, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kwrooijen
Copy link
Owner

It would be nice to check the model structure during registration. Also things like relations (:has-one, :has-many :belongs-to). And fail with a readable error. Currently if you make a typo in the relations, for example, the system will fail when you try to make a query. This should be caught as soon as possible. We can use Malli for this.

@kwrooijen kwrooijen added enhancement New feature or request good first issue Good for newcomers labels Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant