Fork me on GitHub

Hi, guys.. may someone knows how I can debug this, I've call (:y smart-map) but when I saw the errors I got this

:node-error #error{:cause "Insufficient data",
:data {:required {:test/constant-headers {},
:test/access-token {},                                                                                                                                 :test/body {}},
:available #:test{:constant-headers {:User-Agent {},
:Host {}}}},
:via [{:type clojure.lang.ExceptionInfo,
:message "Insufficient data",
:data {:required {:test/constant-headers {},
:test/access-token {},                                                                                                                       :test/body {}},                                                                                                                 :available #:test{:constant-headers {:User-Agent {},                                                                                                                                                                :Host {}}}},
I've print in test/access-toke and test/body inside their resolvers and i saw the data there, and in the env I saw the data, any help is welcome.


is it crazy to want to replace every backend function with pathom resolvers? like, instead of a http-get function you have a resolver that takes a :url and returns a :http-response


I guess that example is probably too general to be useful. it would have to be some kind of domain-specific http-response