Added support for tuples values on query :in or :where#38
Added support for tuples values on query :in or :where#38Quezion wants to merge 3 commits intompdairy:masterfrom
Conversation
Dummy implementation for q-analyze/resolve-any-idents, works for vector values but probably breaks caching for lookup refs
Assumed that lookup-refs are either eid in :where clause, or if in value place, that schema has :db/valueType :db.type/ref Simple tests on lookup refs & tuple queries in datascript_test.cljc
|
I definitely felt out of my depth working on this library -- but this solution satisfies the added tests on the Clojure side. I'm not sure how to run the tests on the CLJS side via cljsbuild. There's need for a lot more tests. I could've broken something in the change to The reason I opened this PR is because I needed this changer to support my own re-frame based app. I'm going to release a sideband version of |
|
I've published |
|
This functionality is included in pull-many PR #39, so closing this PR. Can split PRs apart & reopen on request. |
My understanding of the rules for differentiating lookup-refs:
Fixes #37 , re-posh denistakeda/re-posh#32
This also includes #31, which I rediscovered & fixed in the course of this PR.