(@metasoarous and I just talked a little on gitter about this)
I'm planning on this PR essentially being Datsync in a nutshell, though it'll likely be missing some functionality (at least in the beginning). Normally I would PR this code to Datsync itself, but according to @metasoarous it's in flux right now. This code might in the future be extracted and placed in Datsync but for now it seems as good a place as any to put it here and let people experiment with it.
The first step is to make a little sync test between Datomic and Clojure DataScript (i.e. ignoring websocket transport for now, but focusing on sync itself) showing that the DataScript DB really only gets the subset of the Datomic DB that it needs, and at that, only the authorized portions of that subset.
(@metasoarous and I just talked a little on gitter about this)
I'm planning on this PR essentially being Datsync in a nutshell, though it'll likely be missing some functionality (at least in the beginning). Normally I would PR this code to Datsync itself, but according to @metasoarous it's in flux right now. This code might in the future be extracted and placed in Datsync but for now it seems as good a place as any to put it here and let people experiment with it.
The first step is to make a little sync test between Datomic and Clojure DataScript (i.e. ignoring websocket transport for now, but focusing on sync itself) showing that the DataScript DB really only gets the subset of the Datomic DB that it needs, and at that, only the authorized portions of that subset.