pathom

:pathom: https://github.com/wilkerlucio/pathom/ & https://pathom3.wsscode.com & https://roamresearch.com/#/app/wsscode
beders 2020-10-30T19:18:30.205800Z

hello there, quick question: Are parameters in Pathom EQL supported? I’m using this query: [{(:account/all {:search "bubu"}) [:account/name]}] but are getting an ‘Invalid expression’ exception

beders 2020-10-30T19:19:11.206300Z

the example in the manual about Parameters doesn’t use joins

beders 2020-10-30T19:20:13.206600Z

(this is on 2.3.0-alpha16)

wilkerlucio 2020-10-30T19:23:40.207500Z

@beders a common pitfall is forgetting to quote the list, otherwise instead of sending it, you make Clojure evaluate, so in terms of Clojure code, you need to write as: [{'(:account/all {:search "bubu"}) [:account/name]}]

beders 2020-10-30T19:24:05.207800Z

oh, jesus, you are right 🙂

beders 2020-10-30T19:24:12.208Z

thanks for the quick response!

👍 2
beders 2020-10-30T19:24:43.208500Z

I’m getting blind to list expressions

beders 2020-10-30T19:25:10.209Z

our team of 3 is discovering the wonders of pathom and love it!

❤️ 4