Fork me on GitHub
#pathom
<
2021-01-26
>
frankitox20:01:58

Hi, I'm trying to use ::p/process-error to print dummy string to console if pathom throws while resolving the query. It works if the query uses a resolver, but it's not printing if the query is a mutation. Is that the default behavior?

wilkerlucio21:01:01

it should work with mutations, can you send a reproducing example of what you see?

frankitox22:01:43

Ahh, I see. I'll let you know if I can reproduce it, but most likely I screw it somewhere 😅. Thank youu!

wilkerlucio21:01:00

I just released documentation for how to debug in Pathom 3 🎉 ! This covers how to examine process details via REPL and using the Pathom Viz application, check it out at: https://pathom3.wsscode.com/docs/debugging

❤️ 13
wilkerlucio21:01:54

Also published a new release of Pathom Viz, this fixes a bug with recent commits from Pathom 3, also fixes re-run of queries (trace was stuck in this case). And to finish it now has a link for setting up with Pathom 3 at the initial screen, download at: https://github.com/wilkerlucio/pathom-viz/releases/tag/v2021.1.26-1

alex-eberts23:01:22

@wilkerlucio Awesome job on the documentation for Pathom! It’s one thing to write a useful library but if the docs aren’t good chances are that no one will use it… The Pathom docs are clear without hiding any details and the examples are fantastic. Kudos!! 👏

🙏 3
❤️ 4
☝️ 7