This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-27
Channels
- # announcements (3)
- # babashka (16)
- # beginners (177)
- # calva (102)
- # cider (2)
- # clj-kondo (12)
- # clojars (10)
- # clojure (91)
- # clojure-argentina (3)
- # clojure-australia (5)
- # clojure-europe (16)
- # clojure-nl (1)
- # clojure-uk (10)
- # clojurescript (73)
- # community-development (8)
- # cursive (9)
- # depstar (7)
- # fulcro (5)
- # helix (1)
- # introduce-yourself (1)
- # jobs-discuss (18)
- # lsp (32)
- # luminus (1)
- # malli (2)
- # music (4)
- # off-topic (20)
- # pathom (19)
- # polylith (15)
- # re-frame (4)
- # reagent (6)
- # ring (13)
- # sci (36)
- # shadow-cljs (7)
- # spacemacs (4)
- # sql (3)
- # tools-deps (112)
- # vim (21)
In Fulcro Exercises, 7 load!-ing data from a remote
, it asks to fetch a particular person with just the name
in the EQL tab. My attempt is to use [{[:player/name "Luna"] [:player/id :player/name]}]
as the query. It doesn't work, and I suspect it's not supposed to, as none of the defined resolvers take :player/name
as an input. Am I doing it right?
I didn't write the exercises, so I'll let @U0522TWDA address the specifics. Your query is semantically fine, and it sounds like your understanding is also correct: There would have to be a resolver that could find the person via their name for that query to succeed in Pathom.
Bad fomulation. I mean "fetch only the name of the person", you should use the id to fetch it