I spent some time to get familiar myself to datomic cloud and onyx. Here are the gaps I face;
the following fns don’t exist in client-api. entity
, ident
, log
, next-t
, and tempid
. as @souenzzo suggested some fns may be re-written in client-api, but not sure for all of them. Majority of them are used in tests so re-writing tests might be an option but I’d like to minimize the deviations.
I managed to handle selective lib loading and abstraction by pushing down the impls under protocol.
Tomorrow I’m gonna try the approach to keep using peer api for tests, and incorporate on-prem client lib. The differences between on-prem and cloud client api are primarily in connection area so I hope it has good enough fidelity.