Fork me on GitHub
#pathom
<
2021-08-04
>
JAtkins17:08:43

Is this the current pattern for pathom viz connecting with pathom3?

(def parser
      (cond->> (p/parser ...)
        dev-mode?
        (p.connector/connect-parser
          {::p.connector/parser-id ::my-parser})))
It’s in the docstring of com.wsscode.pathom.viz.ws-connector.pathom3/connect-env . I’m slightly confused seeing the two functions refer to eachother.

wilkerlucio18:08:25

pathom 3 uses a different namespace from the connector

wilkerlucio18:08:46

but the naming still on the other old one (the attribute with id)

wilkerlucio18:08:02

but there is a shortcut arity to avoid the long name