Fork me on GitHub
#pathom
<
2021-01-07
>
Lucas Senna18:01:41

Hi, is anyone else having issues upgrading from Pathom 2.2.x to 2.3.0? I’m trying to upgrade a cljs project from 2.2.31 to 2.3.0 but keep getting the following error during compilation:

wilkerlucio19:01:11

hello 🙂 I can only imagine some classpath issue, did you tried looking inside the jar to verify its contents?

👋 3
Lucas Senna19:01:47

I did, but everything seems fine 🤷

Lucas Senna19:01:28

➜ jar tf pathom-2.3.0.jar
META-INF/MANIFEST.MF
META-INF/maven/com.wsscode/pathom/pom.xml
META-INF/leiningen/com.wsscode/pathom/project.clj
META-INF/leiningen/com.wsscode/pathom/README.md
META-INF/leiningen/com.wsscode/pathom/LICENSE
META-INF/
META-INF/maven/
META-INF/maven/com.wsscode/
META-INF/maven/com.wsscode/pathom/
META-INF/maven/com.wsscode/pathom/pom.properties
union_resolver_test.clj
com/
com/wsscode/
com/wsscode/pathom/
com/wsscode/pathom/parser.cljc
com/wsscode/pathom/merge.cljc
com/wsscode/pathom/map_db.cljc
com/wsscode/pathom/profile.cljc
com/wsscode/pathom/gen.cljc
com/wsscode/pathom/diplomat/
com/wsscode/pathom/diplomat/http/
com/wsscode/pathom/diplomat/http/fetch.cljs
com/wsscode/pathom/diplomat/http/clj_http.clj
com/wsscode/pathom/diplomat/http.cljc
com/wsscode/pathom/graphql.cljc
com/wsscode/pathom/specs/
com/wsscode/pathom/specs/ast.cljc
com/wsscode/pathom/specs/query.cljc
com/wsscode/pathom/core.cljc
com/wsscode/pathom/fulcro/
com/wsscode/pathom/fulcro/network.cljs
com/wsscode/pathom/misc.cljc
com/wsscode/pathom/test.cljc
com/wsscode/pathom/sugar.cljc
com/wsscode/pathom/trace.cljc
com/wsscode/pathom/connect.cljc
com/wsscode/pathom/connect/
com/wsscode/pathom/connect/gen.cljc
com/wsscode/pathom/connect/graphql.cljc
com/wsscode/pathom/connect/indexes.cljc
com/wsscode/pathom/connect/planner.cljc
com/wsscode/pathom/connect/test.cljc
com/wsscode/pathom/connect/foreign.cljc
com/wsscode/pathom/connect/graphql2.cljc
com/wsscode/common/
com/wsscode/common/async_cljs.cljs
com/wsscode/common/combinatorics.cljc
com/wsscode/common/async_clj.clj
com/wsscode/common/async_cljs.clj
com/wsscode/demos/
com/wsscode/demos/meta.clj

Lucas Senna19:01:11

2 of my colleagues are facing the same issue, so I don’t think it is a problem with my machine. Could it be something with the way that Shuffle is configured?

wilkerlucio20:01:50

I just tried to reproduce in a full setup, both on CLJ or CLJS (using Shadow), but here worked fine in both cases

wilkerlucio20:01:14

I deleted the libraries to force a re-download before, but still fine

wilkerlucio20:01:23

can you make a reproduction repo?

wilkerlucio20:01:38

is it working on other machines you know?

wilkerlucio20:01:09

I also suggest checking version of core.async, just in case

Lucas Senna23:01:44

Bumping org.clojure/core.async to the latest stable version did the trick. Thanks a lot, man.

wilkerlucio20:01:56

hello everybody, happy new year! I'm glad to announce a very long wanted feature in Pathom, now in Pathom 3 you can do resolvers with nested inputs! check latest on github, docs on nested inputs: https://pathom3.wsscode.com/docs/resolvers/#nested-inputs.

parrot 18
🎉 12
wilkerlucio20:01:36

this required considerable changes, including changes in the indexes of Pathom, I'll give more details in the next blog post I'll make. for now if you are curious these were the changes involved in it: https://github.com/wilkerlucio/pathom3-docs/pull/5/files