kwrooijen / gungnir

A fully featured, data-driven database library for Clojure.

Home Page:https://kwrooijen.github.io/gungnir/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add validations for model structure

kwrooijen opened this issue · comments

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.