Fork me on GitHub
#pathom
<
2018-12-12
>
Alex H20:12:41

Might be a silly question, but it looks to me like queries with parameters essentially look the same as mutations. The only distinguishing factor, to some extent, is that the mutation uses a symbol instead of a keyword. Is that really all that sets them apart, syntax-wise?

mitchelkuijpers21:12:04

Yes you are completely right

mitchelkuijpers21:12:45

No silly question at all btw 😉

danielstockton09:12:53

Parameterized reads, rather than all queries. e.g. a parameterized join will have a map instead of a symbol.

wilkerlucio16:12:38

yup, correct, lists with symbols as the first item are mutations, anything else is a parameterised query

Alex H19:12:18

thanks everyone for the clarifications!