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

Add generator for ApplicationService #4

Open
kimrgrey opened this issue Apr 29, 2017 · 4 comments
Open

Add generator for ApplicationService #4

kimrgrey opened this issue Apr 29, 2017 · 4 comments

Comments

@kimrgrey
Copy link
Collaborator

After installation of the gem into Rails project it should be possible to run bin/rake performify:install to generate ApplicationService.

@piton4eg
Copy link
Member

@kimrgrey what do you want to place into generated filed?

@par0v0zik
Copy link

@kimrgrey What about a generator for typical create/update services?
To scaffold the service and corresponding spec.

@kimrgrey
Copy link
Collaborator Author

@piton4eg nothing, as ActiveRecord doesn't add anything to ApplicationRecord. Main point here is to leave the room for possible additions + prevent users from monkey patching Performify::Base if they need any common behaviour.

@kimrgrey
Copy link
Collaborator Author

@par0v0zik sounds great to me 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants