pathom

:pathom: https://github.com/wilkerlucio/pathom/ & https://pathom3.wsscode.com & https://roamresearch.com/#/app/wsscode
frankitox 2021-01-26T20:12:58.038200Z

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?

wilkerlucio 2021-01-26T21:07:01.038400Z

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

wilkerlucio 2021-01-26T21:08:00.039600Z

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

❤️ 4
wilkerlucio 2021-01-26T21:39:54.040800Z

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

frankitox 2021-01-26T22:31:43.041100Z

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

2021-01-26T23:04:22.044100Z

@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!! 👏

❤️ 1
☝️ 2
🙏 1