Fork me on GitHub
#datomic
<
2016-01-23
>
jimmy02:01:08

@currentoor: you might want to look at om next.

Lambda/Sierra15:01:28

@currentoor: Any Datomic Peer (or anything with unrestricted access to a Peer, like the ReST interface) can do anything to the database. If you are offering a service to untrusted clients, you'll want to provide a service interface that limits what they can do. For example, you could write your own parser for a restricted subset of Datomic's datalog that you know is safe. You have to decide what to allow: For example, parentheses could be either rule invocation or method invocation.

tmorten16:01:07

in case anyone else finds this useful...I created a db function to compose an existing parent identifier with another association in an entity transaction: https://gist.github.com/tylermorten/d8484a07229ec4d4f5ff

currentoor20:01:01

@nxqd, @stuartsierra thanks for the advice