You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
moduleApimoduleV2classFetchThreedsParamsincludeInteractorincludeInteractor::Contractsexpectsdorequired(:user).filledendon_breachdo |breaches|
puts'1'*30endbeforedoenddefcallendendendend# rails c# Running via Spring preloader in process 70120# Loading development environment (Rails 5.2.4.4)# 2.5.1 :001 > Api::V2::FetchThreedsParams.call# 111111111111111111111111111# => #<Interactor::Context>
With superclass, on_breach is not called:
classBaseInteractorincludeInteractorincludeInteractor::ContractsendmoduleApiclassFetchThreedsParams < ::BaseInteractorexpectsdorequired(:user).filledendon_breachdo |breaches|
puts'1'*30endbeforedoenddefcallendendend# rails c# Running via Spring preloader in process 70120# Loading development environment (Rails 5.2.4.4)# 2.5.1 :001 > Api::FetchThreedsParams.call# => #<Interactor::Context user=["user is missing"]>
No superclass,
on_breach
is called:With superclass,
on_breach
is not called:What i am doing wrong?
https://github.com/c080609a/schema_test - example project (Rails 5.2.4.4, ruby-2.5.1, 3 classes, no database).
The text was updated successfully, but these errors were encountered: