Fork me on GitHub
#fulcro
<
2021-11-18
>
cl_j10:11:29

Hi everyone, any one can share clj-kondo config for fulcro?

lance.paine10:11:45

fulcro now has it built in. kondo finds it on the classpath when it starts and copies the configs to ./clj-kondo/com.fulcrologic/* and ./clj-kondo/com.wss see my recent journey, here https://clojurians.slack.com/archives/CBE668G4R/p1637157618462700

👍 1
🎉 2
Jakub Holý (HolyJak)12:11:14

You can copy them manually via clj-kondo --copy-configs --dependencies --lint (clojure -Spath) + modify the config file as suggested

👍 1
tony.kay22:11:50

The latest releases of RAD support Pathom3. There is a pathom3 branch on the Fulcro RAD demo, and all three databases seem to be working (Datomic, SQL, and XTDB). The support even allows you to use (most) pathom 2 resolvers/mutations in the new parser (processor) by converting them automatically when they are added to the Pathom 3 processor. The error behavior of this new support is not well-refined, and will probably differ from the older version, but the demo really didn’t have that fleshed out all that much before.

🎉 16
Piotr Roterski16:11:01

great news! I’ll remove direct pathom dependency from fulcro-rad-xtdb over the weekend but I’m impressed that it worked without doing that

tony.kay17:11:59

Yeah, there’s no ns overlap, and since P2 stuff is pure maps it was easy to auto-convert a lot of stuff

pathom 2
genekim18:11:58

Amazing! Thank you for your fantastic work!!