Fork me on GitHub
#pathom
<
2018-11-13
>
mitchelkuijpers09:11:11

Hi all, I am switching over the the parallel parser of pathom but it seems it broke my union queries. Do I have to change something for them to work?

mitchelkuijpers10:11:21

If I remove my ::pc/union-path it starts working

mitchelkuijpers10:11:45

I used to have {::pc/union-path :union-key} this does not work with the parallel parser changing it to:

::p/union-path (fn [{:keys [query] :as env}]
                               (let [e (p/entity env)]
                                 (:union-key e)))
Fixes it

wilkerlucio13:11:45

@mitchelkuijpers thanks for the report, looking at the code I can see the problem, I'll open a issue and deal with that soon

👍 4