cldwalker / datomico

Use datomic with intention revealing names. Ease of use and sticking to datomic's principles are encouraged.
MIT License
49 stars 7 forks source link

wrap datomic vs start #5

Closed boxxxie closed 11 years ago

boxxxie commented 11 years ago

they don't seem to be made to work together.

also they require different testing strategies. how about removing the uri from wrap datomic and having it use uri?

cldwalker commented 11 years ago

Having wrap-datomic take a uri is on purpose as its a utility function, meant to be used outside of dynamic bindings. Perhaps I'll put it in it a separate util namespace to make it clearer. If you read start, you'll see that it sets uri and then uses the same one for wrap-datomic.

cldwalker commented 11 years ago

I've thought about this some more and decided to have wrap-datomic default to uri 6bb2a842ad415c23cbe49fbf8fe4e470b34ec0b8