-
-
Notifications
You must be signed in to change notification settings - Fork 158
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 a --with-page
flag to gen.action.browser task
#1795
Comments
Yeah, it's always been weird to me that those two generators are separate. The landslide majority of the time I'm adding an action, I want a page too. Is there room for a combo-blaster generator instead of tying these two generators together? |
I'm open to one. It would need to be named something clear with the understanding that it's a BrowserAction being generated. I don't think you'd generate an ApiAction with a page since you'll usually just return JSON... The other option suggested was using |
I consider only |
I created two bash script for make create The good part is, no need wait compile, and support create namespaced CRUD. I do create a luckyframework/avram#935 for refine the CRUD templates make it more consistent.
|
…ace. Adding new --with-page arg for Browser actions. Fixes #1795
Ref: #1794
This would be
lucky gen.action.browser Posts::Index --with-page
which would generateMaybe the
lucky gen.page
task could also have a--with-action
just for the inverse consistency too....The text was updated successfully, but these errors were encountered: