Fork me on GitHub
#pathom
<
2020-07-17
>
Joe R. Smith23:07:34

I'm playing with pathom-datomic using Datomic Cloud and getting class clojure.lang.ExceptionInfo: No output available - #:com.wsscode.pathom.connect{:sym com.wsscode.pathom.connect.datomic/datomic-resolver whenever I query for a property. My Parser is pretty simple:

{::p/env     {::p/reader [p/map-reader
                            pc/reader2
                            pc/open-ident-reader
                            p/env-placeholder-reader]
                ::p/placeholder-prefixes #{">"}}
   ::p/mutate  pc/mutate
   ::p/plugins [(pc/connect-plugin {::pc/register resolvers})
                (pcd/datomic-connect-plugin (assoc client-config
                                              ::pcd/conn conn
                                              ::pcd/whitelist #{:db/id :user/id :user/email}))
                p/error-handler-plugin
                p/trace-plugin]}
A query like this returns that error:
(parser {} [{[:user/email ""] [:user/id]}])

Joe R. Smith23:07:16

UPDATE: Looks like the fix was to use pc/reader3