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
no, that's correct, the mutation action fn need to be wrapped by the map having the :action
key
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 ?
ah, sorry, you are right, that's just the condition to check if there is an action, so it should be (:action out)
👍
do you wanna send a PR with the fix?
sure, sent 🙂 https://github.com/wilkerlucio/pathom/compare/master...nivekuil:patch-1
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
no worries, and site updated
@wilkerlucio have you release the project you talked about on clojurescript podcast? the one where you are grabbing data from local real estate sites