When using the Client API (with Datomic Cloud or locally with a Peer Server), is there any way to use the database functions?
I have 2 use cases:
- A custom transaction (database) function.
- An entity function (i.e. as a :db.type/fn attribute).
Currently, I am getting the following exception when trying to add a function built with (datomic.api/function …):
java.lang.RuntimeException: java.lang.Exception: Not supported: class clojure.lang.Delay