This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-30
Channels
- # adventofcode (3)
- # announcements (4)
- # babashka (42)
- # beginners (56)
- # biff (23)
- # cider (8)
- # clj-yaml (2)
- # cljdoc (16)
- # clojure (83)
- # clojure-europe (52)
- # clojure-nl (3)
- # clojure-norway (4)
- # clojure-sweden (2)
- # clojure-uk (2)
- # clojurebridge (1)
- # clojurescript (2)
- # cloverage (1)
- # cursive (11)
- # data-oriented-programming (1)
- # deps-new (2)
- # dev-tooling (2)
- # emacs (3)
- # etaoin (4)
- # events (5)
- # fulcro (5)
- # gratitude (3)
- # java (3)
- # jobs (1)
- # jobs-discuss (1)
- # joyride (33)
- # malli (16)
- # music (1)
- # nbb (1)
- # nrepl (4)
- # nyc (1)
- # off-topic (25)
- # pathom (8)
- # re-frame (1)
- # reitit (7)
- # remote-jobs (2)
- # shadow-cljs (6)
- # tools-deps (9)
Hi 👋:skin-tone-4: - I'm maintaining some code that's been around from earlier in pathom3 version history. I have lenient mode on and intercept both mutation and resolver errors using the plugins.
What's the official line on ::pcr/nodes-with-error
and ::pcr/node-error
meta-data?
• Is this data still populated? (I see the plugin has been removed from docs)
• Is there anything I can get by inspecting that meta-data that I can't get from the error intercepting plugins or by inspecting the error attributes on the result?
• Is there any documentation on this meta-data?
hello, yes, the data is populated, the plugin was removed because it became native (it always does that in lenient mode)
docs available at: https://pathom3.wsscode.com/docs/error-handling
but if its missing something you need, please let me know
ok thank you 👍:skin-tone-4: I'm feeling a little dumb; I'm not seeing anything about meta-data in the error handling page?
the meta is used internally by the fns described in that page, you can see it in the attribute-error
impl for example: https://github.com/wilkerlucio/pathom3/blob/main/src/main/com/wsscode/pathom3/error.cljc#L75
in this line it pulls the stats from the meta
Ok - what I’m hearing you say is this is part of the implementation. On our side I will remove the code that depended on it. Thank you, pathom is cool to work with