Fork me on GitHub
#pathom
<
2021-05-03
>
henrik05:05:38

@wilkerlucio [Pathom 3] I just noticed that if I provide both an ident and params, (pco/params env) comes out as {}. Params do come through when I use a root query instead of an ident. Is this normal/intended/a known problem?

nivekuil06:05:12

oh I ran into that too. forgot to follow up on it

henrik07:05:02

I just worked around it like this for now:

(if (empty? params)
  (get-in env [::pcp/graph
               ::pcp/source-ast
               :params])
  params)

wilkerlucio12:05:46

can you send an example? without it its hard for me to understand what you are trying to do