This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-09
Channels
- # announcements (17)
- # babashka (8)
- # beginners (68)
- # calva (28)
- # clj-kondo (36)
- # cljsrn (1)
- # clojure (232)
- # clojure-dev (3)
- # clojure-europe (13)
- # clojure-nl (14)
- # clojure-spec (9)
- # clojure-uk (11)
- # clojuredesign-podcast (3)
- # clojurescript (38)
- # core-async (3)
- # cursive (1)
- # datahike (4)
- # datomic (4)
- # fulcro (56)
- # graphql (1)
- # helix (3)
- # honeysql (5)
- # introduce-yourself (1)
- # kaocha (2)
- # lsp (67)
- # malli (7)
- # meander (2)
- # off-topic (1)
- # pathom (9)
- # re-frame (55)
- # reitit (3)
- # releases (8)
- # remote-jobs (12)
- # shadow-cljs (12)
- # sql (3)
- # tools-deps (55)
- # vim (5)
- # xtdb (3)
I’m playing with Pathom 3 EQL queries and I don’t understand why you get
• '(:_>_/bret {::first-name "Bret" ::last-name "Victor"})
as a ::pco/input
in your resolver
• '(::todos {::todo-done? false})
in (pco/params env)
instead
I would expect the same behavior for both the EQL parameter and the placeholder parameter, do I miss something?
@U0CL38MU1 it's about placeholders
https://pathom3.wsscode.com/docs/placeholders/
when you use :>/anything
, its parameter will be merged into the "input"
>
are special keywords. In any other context, it will end in p/params
Placeholders are the way to the client provide inputs to the server. Params are to customize a specific attribute resolver