Fork me on GitHub
#pathom
<
2019-03-05
>
lilactown21:03:12

are there any examples of using Pathom + GraphQL without Fulcro?

thheller21:03:40

check the connect section. that should work without any fulcro

lilactown21:03:18

it turns out this is all I need:

(my-ns
  (:require [com.wsscode.pathom.graphql :as pg]))

(pg/query->graphql [{:foo [:bar]}])
;; => "query { foo { bar } }"

lilactown23:03:37

hm. but it might not be possible to pass in parameters this way?

lilactown23:03:55

honestly the fact that apparently the Fulcro docs and the Pathom docs are interwoven are really frustrating