Fork me on GitHub
#pathom
<
2021-07-11
>
wilkerlucio16:07:42

hello everyone, I'm thinking about some big changes for Pathom 3 error handling, changing it from "tolerant first" to "strict first", that means errors will get throw much sooner, I wrote more details of what I'm thinking about at https://github.com/wilkerlucio/pathom3/discussions/65#discussioncomment-990684 and would love your feedback

cyppan08:07:46

Awesome thanks 🙂 After downloading it I do get an error though (I’m on the last commit of pathom and on the last version of the pathom-viz connector)

Mon Jul 12 10:01:42 CEST 2021 [worker-2] ERROR - POST /
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: No implementation of method: :-operation-config of protocol: #'com.wsscode.pathom3.connect.operation.protocols/IOperation found for class: com.wsscode.pathom3.connect.operation.Resolver
	at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
	at clojure.core$deref_future.invokeStatic(core.clj:2304)
	at clojure.core$deref.invokeStatic(core.clj:2324)
	at clojure.core$deref.invoke(core.clj:2310)
	at com.wsscode.pathom.viz.ws_connector.impl.http_clj$handler.invokeStatic(http_clj.clj:46)
	at com.wsscode.pathom.viz.ws_connector.impl.http_clj$handler.invoke(http_clj.clj:37)
	at com.wsscode.pathom.viz.ws_connector.impl.http_clj$start_http_server_BANG_$fn__85399.invoke(http_clj.clj:74)
I can make an issue maybe?

wilkerlucio13:07:55

that's a strange error, because the type is right, so Im not sure why it can't dinf the operation-config protocol, can you make a repro case?

cyppan17:07:29

I’ve changed the versions of pathom3 (2021.07.10-1-alpha) and the connector (2021.07.15-1) to the latest Clojars releases and I don’t reproduce everything work fine, it must have been a problem on my end..!

👍 2