hey guys is it possible to derive a RESTful API out of Pathom API? e.i. generate GET endpoints out of resolvers, POST endpoints out of mutations
there is no library, but its a trivial thing to achive, once you have the indexes, you can rub a query for a given endpoint, and let pathom to the resolution
use some http arg as param + some query
I do (almost) that. It's internal on the app that I work on. But works great. We do not "generate REST from reslvers" We write things like
{:endpoint "/user/:id"
:query '[{[:app.user/id ?id] [:.appuser/name :app.user/id :app.user/description]}]}