pathom

:pathom: https://github.com/wilkerlucio/pathom/ & https://pathom3.wsscode.com & https://roamresearch.com/#/app/wsscode
wilkerlucio 2021-05-31T00:13:10.025800Z

👍 4
nivekuil 2021-05-31T07:18:52.027200Z

so with distributed resolvers, you can do something like build a read-through cache with client-side pathom resolvers?

wilkerlucio 2021-05-31T12:46:52.027900Z

what you mean by read-though cache in this context?

nivekuil 2021-05-31T13:14:06.028200Z

like, fetch an attribute from local cache if it's there, otherwise transparently load it from remote

nivekuil 2021-05-31T13:16:53.028400Z

and then cache that remote result in the local cache

wilkerlucio 2021-05-31T14:15:35.028600Z

in theory, yes, but its not so easy, caching of dynamic resolvers is a hard problem given their complex inputs/output patterns