Fork me on GitHub
#pathom
<
2021-09-11
>
Jakub Holý (HolyJak)20:09:05

@wilkerlucio🙏 My assumption was that if I send a mutation with a query to Pathom, it will filter out from the mutation's output everything that has not been asked for. However this seems to not be the case and Pathom does return also other stuff returned by the mutation, namely :tempids . This is actually what I desire, so it is just fine, I only want to confirm that this is indeed expected behavior. Pathom 2.3.1. For details, see https://github.com/fulcrologic/fulcro/issues/484#issuecomment-917477147, if necessary. Thank you!

2
Jakub Holý (HolyJak)08:09:04

It worked b/c my Pathom config had {::p/env {::pc/mutation-join-globals [:tempids], ...}}

wilkerlucio13:09:11

Awesome! As a rule of thumb, if you get some result running a query in the REPL, you should be able to get the same result in Pathom Viz

👍 2
wilkerlucio13:09:30

what I remember is that when using mutation joins, Pathom Viz may not follow it up correctly, I need to investigate that closer