Recommended way to declare Datomic schema in Clojure application -


i'm starting develop datomic-backed clojure app, , i'm wondering what's best way declare schema, in order address following concerns:

  1. having concise, readable representation schema
  2. ensuring schema installed , up-to-date prior running new version of app.

intuitively, approach following:

  1. declaring helper functions make schema declarations less verbose raw maps
  2. automatically installing schema part of initialization of app (i'm not yet knowledgeable enough know if works).

is best way go? how people it?

i use conformity see conformity repository. there useful blogpost yeller here guide how use conformity.


Comments