This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-06
Channels
- # announcements (4)
- # asami (11)
- # babashka (1)
- # beginners (70)
- # bitcoin (2)
- # calva (68)
- # cider (311)
- # clara (1)
- # clj-kondo (58)
- # cljsrn (18)
- # clojure (37)
- # clojure-australia (1)
- # clojure-europe (22)
- # clojure-poland (6)
- # clojure-serbia (2)
- # clojure-spec (9)
- # clojurescript (11)
- # conjure (4)
- # cursive (16)
- # data-oriented-programming (21)
- # datahike (1)
- # emacs (10)
- # events (1)
- # fulcro (9)
- # girouette (2)
- # graalvm (52)
- # graphql (2)
- # jobs-discuss (5)
- # lsp (8)
- # malli (8)
- # off-topic (17)
- # other-languages (46)
- # pathom (17)
- # portal (2)
- # shadow-cljs (11)
- # slack-help (2)
- # sql (47)
- # tools-deps (14)
- # tree-sitter (1)
- # xtdb (6)
Also project for Pathom 3: https://github.com/wilkerlucio/pathom3/projects/1
i wrote a minimalistic clone of pathom, for fun and for fame. maybe someone will find it useful https://github.com/ribelo/pathos
awesome! I think its a great way to understand how pathom works 🙂
I like ask you about this text on your docs:
one of the main differences from pathom is that pathos doesn’t bother about the code inside and you can easily use let and whatever your heart desires
not sure if I understand, because pathom doesn't care about the code inside the resolver, just what it outputs in the end, maybe a misunderstand of some sorts?
@U066U8JQJ the most annoying thing I encounter when using pathom
is having to write in such a way that the first element in resolver is a map
in pathos
I use a simple macro that goes as far into the function as possible, assuming that the last element returned by the function is either a map or a keyword
@U066U8JQJ i created a PR, maybe you will find it useful
another thing that I don't think pathom
makes easy is memoization
with ttl
, and I think it would be super useful. sometimes data changes every certain time and it would be a good idea to only retrieve it when it's changed
and by the way, thanks not even for a piece of really great software that I use every day, but for changing my perspective on programming and specifically data driven development ❤️
i take back what i said about memoization, last time I looked in the documentation, i didn't see the section about cache
hello Ribelo, I posted the reasoning for not having deep checks for output in your issue
about cache with TTL, the cache system in Pathom 3 is made to be extensible, you can use the TTL from core.cached for example, there is some integration examples at https://pathom3.wsscode.com/docs/cache
thanks for the feedback, always appreciated