Fork me on GitHub
#datomic
<
2022-10-23
>
prnc17:10:51

Ions question: In the top level of a namespace I’m trying to (set! *default-data-reader-fn* <my-fn>) and seeing…

"Type": "java.lang.IllegalStateException", 
"Message": "Can't set!: default-data-reader-fn from non-binding thread"
Probably something I don’t understand about dynamic vars, root vs thread bindings or about how datomic ions run our application — would appreciate any pointers or advice, thanks!