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 generators for creating basic operations and forms #1

Open
Misha7776 opened this issue Dec 16, 2021 · 2 comments
Open

Add generators for creating basic operations and forms #1

Misha7776 opened this issue Dec 16, 2021 · 2 comments

Comments

@Misha7776
Copy link

Would be great to have some sort of generator that will create operations and forms based on a base template.
This could look like this:
readymade generate scaffold Posts - generates operations and forms for Post model (additionally we can arguments that will be validated in the form)
readymade generate Posts::Actions::Notify - will create a empty namespaces class with call method
readymade generate Posts::Operations::Create - will create a basic operation
readymade generate Post::Foms::Create permitted:[] required:[] - will create a form class
What do you think @OrestF ?

@OrestF
Copy link
Owner

OrestF commented Dec 16, 2021

@Misha7776 sounds good
but let's keep it simple
I would make generators for declared classes without scaffolding.
Do you have an idea how to implement this?

@dmrAnderson
Copy link

#8

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

No branches or pull requests

3 participants