inputs are not supported for mutations as they are for resolvers. 😞
Just call the parser from the mutation
(pc/defmutation send-login-email
[{:keys [parser] :as env} {:app/keys [origin] :login/keys [email]}]
{::pc/sym 'login/send-email
::pc/params [:login/email]
::pc/output [:login/sent]}
(go
(<! (send-email {:email email :origin (:app/origin (<! (parser env [:app/origin])}))))
{:login/sent true}))
Ooohhh, that's awesome! Didnt realize I could do that. Thanks!