Fork me on GitHub
#pathom
<
2019-06-22
>
Chris O’Donnell22:06:35

@wilkerlucio Sorry to bother you! A couple of questions when you get a chance: 1. Would it be possible to pass through tempid? at https://github.com/wilkerlucio/pathom/blob/master/src/com/wsscode/pathom/connect/graphql2.cljc#L335? (Or is there a better way to use tempids with pathom connect graphql that I'm missing?) 2. Is there a reason you're not calling str on clojurescript uuids at https://github.com/wilkerlucio/pathom/blob/master/src/com/wsscode/pathom/graphql.cljc#L33? Feels like uuids should be formatted to strings as they are in clojure, but I definitely could be missing something. The formatting is a bit odd right now:

cljs.user> (js/JSON.stringify (clj->js (random-uuid)))
"{\"uuid\":\"f03af9f4-4dec-4c77-b66c-9e1e2ca0f8a4\",\"__hash\":null,\"cljs$lang$protocol_mask$partition0$\":2153775104,\"cljs$lang$protocol_mask$partition1$\":2048}"
cljs.user> (js/JSON.stringify (str (clj->js (random-uuid))))
"\"1e2e14f3-aa82-4579-badb-a3684158d80d\""
Really appreciate all the work you've put into pathom!