This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-17
Channels
- # admin-announcements (4)
- # boot (93)
- # cider (4)
- # cljsrn (61)
- # clojure (137)
- # clojure-austin (2)
- # clojure-brasil (2)
- # clojure-dev (11)
- # clojure-dusseldorf (10)
- # clojure-greece (245)
- # clojure-russia (37)
- # clojure-spec (60)
- # clojure-taiwan (1)
- # clojure-uk (24)
- # clojurescript (36)
- # cursive (18)
- # datomic (20)
- # emacs (20)
- # funcool (1)
- # hoplon (29)
- # jobs (1)
- # keechma (1)
- # lein-figwheel (1)
- # leiningen (1)
- # off-topic (3)
- # om (10)
- # om-next (1)
- # onyx (60)
- # other-languages (14)
- # planck (26)
- # random (3)
- # re-frame (21)
- # ring (2)
- # spacemacs (8)
- # specter (56)
- # spirituality-ethics (2)
- # uncomplicate (1)
- # untangled (68)
- # yada (3)
query re-rooting only works on joins? If I use a simple query that generates an AST like:
{:type :prop, :dispatch-key :search/results, :key :search/results, :params {:q "br"}, :query-root true}
then my remote read is not rooted at :search/results
.
However, if I use a more complex query that generates an AST like: {:type :join
:dispatch-key :search/results
:key :search/results
:query [{:person/name [: :]}]
:children [{:type :join
:dispatch-key :person/name
:key :person/name
:query [: :]
:component components.person-primary-name/PersonPrimaryName
:children [{:type :prop
:dispatch-key :
:key :
{:type :prop
:dispatch-key :
:key :
:params {:q "br"}
:query-root true}
then the remote read is correct re-rooted