Fork me on GitHub
#pathom
<
2020-11-13
>
nivekuil06:11:20

maybe a doc error: under wrap-mutate, I think`{:action out}` should be (:action out)? https://blog.wsscode.com/pathom/v2/pathom/2.2.0/plugins.html#_plugin_skeleton

👍 3
wilkerlucio07:11:40

no, that's correct, the mutation action fn need to be wrapped by the map having the :action key

nivekuil07:11:18

huh.. I extract the :action key rather than wrapping the map and my plugin works.. same thing as https://github.com/wilkerlucio/pathom/blob/master/src/com/wsscode/pathom/profile.cljc#L46 ?

wilkerlucio07:11:03

ah, sorry, you are right, that's just the condition to check if there is an action, so it should be (:action out) 👍

wilkerlucio07:11:17

do you wanna send a PR with the fix?

nivekuil08:11:02

aw, I've been typing so much fulcro/pathom that I instinctively typed in "env" instead of "out" when I wanted a three-letter variable. can't figure out how to amend the commit message through github

wilkerlucio08:11:04

no worries, and site updated

ianjones18:11:44

@wilkerlucio have you release the project you talked about on clojurescript podcast? the one where you are grabbing data from local real estate sites