Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datsys todo app transaction error #42

Open
dylanjeffers opened this issue May 15, 2018 · 0 comments
Open

datsys todo app transaction error #42

dylanjeffers opened this issue May 15, 2018 · 0 comments

Comments

@dylanjeffers
Copy link

any call to send-tx! returns something like:
ERROR [dat.reactor:171] - Error executing effect: [:dat.remote/send-event! [:dat.sync.remote/tx [[:db/retract 17592186045466 :e/name "finish dynamatch"] [:db/add 17592186045466 :e/name "finish dynamatch after meeting my friend"]] nil]] #error {:message "Invalid event", :data {:given [:dat.sync.remote/tx [[:db/retract 17592186045466 :e/name "finish dynamatch"] [:db/add 17592186045466 :e/name "finish dynamatch after meeting my friend"]] nil], :errors {:wrong-length {:expected #{1 2}, :actual {:type cljs.core/PersistentVector, :value [:dat.sync.remote/tx [[:db/retract 17592186045466 :e/name "finish dynamatch"] [:db/add 17592186045466 :e/name "finish dynamatch after meeting my friend"]] nil]}}}}}

As a hack, I found that removing tx-meta in dat.sync.client/send-remote-tx resolves the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant