-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented injector step #34
Conversation
It must contain a :inject keyword with a function as a value. The function must return either a step or a collection of them
Also fixed some small things on README: names are optional now, and one small syntax error
src/fonda/execute.cljs
Outdated
(let [res (cond | ||
processor (processor ctx) | ||
tap (tap ctx) | ||
inject (inject ctx)) | ||
assoc-result-fn (cond | ||
(not (nil? tap)) (partial assoc-tap-result fonda-ctx) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These (not (nil? thing))
can be safely translated to thing
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome thank you!
It must contain a
:inject
keyword with a function as a value.The function must return either a step or a collection of them