This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-22
Channels
- # announcements (8)
- # architecture (1)
- # beginners (49)
- # calva (7)
- # cljdoc (7)
- # cljs-dev (4)
- # clojure (44)
- # clojure-italy (1)
- # clojure-spec (12)
- # clojurescript (88)
- # community-development (2)
- # cursive (8)
- # datomic (16)
- # fulcro (15)
- # immutant (3)
- # joker (10)
- # keechma (4)
- # lambdaisland (1)
- # luminus (7)
- # pathom (1)
- # qa (2)
- # re-frame (11)
- # reitit (8)
- # remote-jobs (1)
- # rewrite-clj (10)
- # shadow-cljs (1)
- # slack-help (2)
- # sql (1)
- # tools-deps (2)
- # vim (4)
- # xtdb (3)
@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!