This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-23
Channels
- # announcements (4)
- # bangalore-clj (1)
- # beginners (56)
- # cider (24)
- # clojure (71)
- # clojure-dev (21)
- # clojure-nl (2)
- # clojure-russia (1)
- # clojure-spec (5)
- # clojure-uk (10)
- # clojured (8)
- # core-logic (18)
- # cursive (6)
- # data-science (15)
- # duct (1)
- # figwheel-main (4)
- # fulcro (6)
- # graphql (2)
- # luminus (4)
- # nrepl (9)
- # off-topic (10)
- # pathom (10)
- # pedestal (3)
- # re-frame (10)
- # ring-swagger (1)
- # shadow-cljs (19)
- # vim (35)
Trying to make this query
[{[:company/by-id 43078865576263770] [:db/id :company/name]} :com.wsscode.pathom/trace]
and my resolver is defined as
(defresolver entity-resolver
"Resolves query for an entity"
[{:keys [conn tx] :as env} {:keys [company/by-id] :as input}]
{::pc/input #{:company/by-id}
::pc/output [:db/id :company/name]}
(d/pull (d/db conn) '[*] by-id))
However, I’m not getting any data back from the UI / fulcro query
(and I do have this data in the database, I am printing the result of (d/pull ...)
and getting data back
@pvillegas12 did you solve this?
Same error as in #fulcro
😄 thanks though
yup, the datomic ids were getting parsed incorrectly on the way
had various problems with the datomic ids