We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
expects
promises
.chain
organize \ DoFoo, DoBar = self.if( :success, then: DoBaz = chain('DoBaz', A, B, C), else: Qux )
Here we have to use chain when assigning to a testable constant DoBaz
chain
DoBaz
but if A expects something, then the interactor wiring specs will fail. Meaning you have to fully extract a class.
class DoBaz include Interactify expect :a organize A, B, C end
organize \ DoFoo, DoBar = self.if( :success, then: DoBaz, else: Qux )
OR we can do
organize \ DoFoo, DoBar = self.if( :success, then: DoBaz = chain('DoBaz', A, B, C).expect(:a), else: Qux )
but here the expect can come visually far away from the start of the chain.
expect
May be nice to have to do
organize \ DoFoo, DoBar = self.if( :success, then: DoBaz = chain('DoBaz', A, B, C, expect: :a), else: Qux )
organize \ DoFoo, DoBar = self.if( :success, then: DoBaz = chain('DoBaz', expect: :a, A, B, C), else: Qux )
Also to investigate why wiring specs are not passing in previous contract info into if and chain calls
if
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here we have to use
chain
when assigning to a testable constantDoBaz
but if A expects something, then the interactor wiring specs will fail. Meaning you have to fully extract a class.
OR we can do
but here the
expect
can come visually far away from the start of thechain
.May be nice to have to do
Also to investigate why wiring specs are not passing in previous contract info into
if
andchain
callsThe text was updated successfully, but these errors were encountered: