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

Configurable context pattern #95

Closed
aaronmallen opened this issue Jan 6, 2020 · 0 comments · Fixed by #104
Closed

Configurable context pattern #95

aaronmallen opened this issue Jan 6, 2020 · 0 comments · Fixed by #104
Labels
feature New feature or request
Milestone

Comments

@aaronmallen
Copy link
Owner

aaronmallen commented Jan 6, 2020

Elevator pitch, describe and sell us your feature request

As a developer,
I want to be able to configure which context pattern I want to use
so that Rails generators don't generate unnecessary classes if I don't want to use them.

Is your feature request related to a problem

It's frustrating that the generators automatically create context classes for me when I wish to use the interactor only pattern i.e.:

class MyInteractor < ApplicationInteractor
  context_attributes ...
  context_validates ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant