andypike / rectify

Build maintainable Rails apps
MIT License
596 stars 48 forks source link

Nesting Command Classes #52

Open michaelminter opened 5 years ago

michaelminter commented 5 years ago

You of course don't need to put all code for this task within the Command, you can (and should) create other classes that your Command uses to perform its work.

What's the cleanest way to have command classes inside of command classes and be able to share results?

Is there a similar design pattern to Interactor's organizers? (see: https://github.com/collectiveidea/interactor#organizers)