Fork me on GitHub
#datomic
<
2015-10-23
>
domkm00:10:13

Is there any harm in putting enum values in :db.part/db instead of :db.part/user as the docs show?

domkm06:10:53

Is it possible to create a transaction that contains a circular reference? I'm trying to install an attribute and annotate a transaction with that attribute at the same time but it's erroring. https://gist.github.com/DomKM/fda80d4d3e948ae31140

robert-stuttaford10:10:20

pretty sure that’s not possible, @domkm - it uses the known-good schema to validate the transaction, the in-flight tx is not known-good at that point

robert-stuttaford10:10:42

enums in db, what happens when you try – does it work?

domkm15:10:58

@robert-stuttaford: Re: enums in :db.part/db, I haven't tried but I assume it would work. However, I'm also able to (if memory serves) create an attr that begins with :db. which is explicitly disallowed, so I think there's not much validation.