This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-14
Channels
- # admin-announcements (3)
- # alda (1)
- # beginners (12)
- # braveandtrue (4)
- # cider (9)
- # cljs-dev (109)
- # cljsrn (6)
- # clojars (4)
- # clojure (40)
- # clojure-japan (5)
- # clojure-russia (10)
- # clojurescript (42)
- # cursive (2)
- # datomic (6)
- # hoplon (3)
- # luminus (3)
- # melbourne (1)
- # om (4)
- # om-next (1)
- # onyx (41)
- # proton (2)
- # protorepl (1)
- # quil (1)
- # re-frame (6)
- # respo (1)
- # testing (1)
I’m trying to use union queries for routing, but in the most simple case, e.g., as presented here: https://github.com/anmonteiro/anmonteiro.github.io/blob/master/assets/cljs/om_next_routing/union.cljs, I’m seeing the error: "Union components must implement Ident”. I’m using normalized data and stuffing the union under the route/data key. Could someone point me in the right direction?
implementing ident for the union’d queries does not see to fix it
@solussd: it’s the union query that needs to implement Ident
, the one which has a map as the query
see the official union queries tutorial for an example: https://github.com/omcljs/om/wiki/Queries-With-Unions