hyperfiddle-2020 icon indicating copy to clipboard operation
hyperfiddle-2020 copied to clipboard

Cleanup Datomic facade so system fiddles can d/q without hardcoding a Datomic product line

Open dustingetz opened this issue 5 years ago • 1 comments

https://github.com/hyperfiddle/hyperfiddle/blob/3dcd1dd786ec3a6dd0b487c0ea5744e53e96070e/src/hyperfiddle/foundation.cljc#L139

Userland fiddles e.g. hello-world are happy to hardcode the Datomic dep, but hf provided fiddles must be agnostic. The current Datomic facade sucks for this, needs untangling.

dustingetz avatar Jul 04 '20 21:07 dustingetz

Due to forbidden datomic imports in the submodule, clj -m compile-cljs must be clj -A:free -m compile-cljs so the cljc files that assume datomic.api are well-formed or this fails. (The cljs compiler pulls a bunch of JVM files in to load the hf-def macro stuff for #1094 def hacks)

dustingetz avatar Aug 19 '20 00:08 dustingetz