This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-18
Channels
- # aleph (1)
- # announcements (31)
- # babashka (9)
- # babashka-sci-dev (36)
- # beginners (72)
- # calva (20)
- # clj-kondo (99)
- # cljsrn (1)
- # clojure (77)
- # clojure-europe (33)
- # clojure-nl (4)
- # clojure-norway (12)
- # clojure-uk (4)
- # clojurescript (23)
- # cursive (2)
- # datascript (5)
- # events (1)
- # fulcro (3)
- # honeysql (3)
- # inf-clojure (82)
- # interop (2)
- # kaocha (10)
- # lsp (15)
- # meander (1)
- # missionary (10)
- # off-topic (22)
- # pathom (4)
- # pedestal (3)
- # polylith (20)
- # re-frame (10)
- # react (4)
- # reagent (4)
- # reitit (27)
- # ring-swagger (1)
- # shadow-cljs (34)
- # specter (3)
- # sql (1)
- # testing (5)
- # tools-deps (22)
- # vim (12)
In pathom2, is there a way to have a ::pc/input that requires a specific nested output? For example, if I have:
::pc/input #{::story/name}
::pc/output [{::story/current [::story/id]}]
and
::pc/input #{::story/id}
::pc/output [::story/versioned-story-data]
From earlier resolvers, I want to do something like...
::pc/input #{{::story/current [::story/versioned-story-data]}}
::pc/output [::story-ana/current-reporter]
Is this possible in pathom2, if so what is the syntax?Ah. Given how much attention is given to Nested Inputs in Pathom3, this is probably a new feature I can't use in 2
yes, that's correct, this is a feature only supported in Pathom 3