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
the example in the manual about Parameters doesn’t use joins
(this is on 2.3.0-alpha16)
@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]}]
oh, jesus, you are right 🙂
thanks for the quick response!
I’m getting blind to list expressions
our team of 3 is discovering the wonders of pathom and love it!