Skip to content
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

Support calling steps with no input arguments (take 2) #69

Merged
merged 2 commits into from
Aug 4, 2017

Conversation

timriley
Copy link
Member

Some steps in a transaction may not accept any input. Make it easy for step adapters to support calling these operations by adding a Step#call_operation method. This only calls the operation with args if it accepts any.

@GustavoCaso I tried this as another take on your work in #68. I didn't want to make each step adapter class have to include that Resolver module to get this support, so I thought it might be worth adding it on the Step class directly. What do you think?

@timriley timriley force-pushed the allow-steps-without-input-arguments-2 branch from 9a19ed5 to a740a72 Compare July 22, 2017 02:06
@timriley
Copy link
Member Author

@GustavoCaso just adjusted this so it's rebased on top of your changes. If we're happy with this I'll squish the commits and give them a nicer message :)

@GustavoCaso
Copy link
Member

GustavoCaso commented Jul 22, 2017

@timriley I'm happy with the changes. It makes more sense to by in the step that in a separate module - much more cleaner :)

@timriley timriley merged commit f4f6416 into master Aug 4, 2017
@timriley timriley deleted the allow-steps-without-input-arguments-2 branch August 4, 2017 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants