Fork me on GitHub
#pathom
<
2023-09-06
>
J07:09:22

Hello guys! I’m wonder if it’s possible to remove a plugin for a specific process computation?

2
J07:09:11

Like

(def new-pathom-env
    (-> pathom-env
        (update :com.wsscode.pathom3.plugin/plugin-order
                (fn [plugins-order]
                  (remove
                    #(= (:com.wsscode.pathom3.plugin/id %)
                        'beop.pathom.plugins/rename-output-plugin)
                    plugins-order)))))

J09:09:10

ooh I see the remove-plugin function in the plugin namespace!