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 ?
@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?
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 methodreadymade generate Posts::Operations::Create
- will create a basic operationreadymade generate Post::Foms::Create permitted:[] required:[]
- will create a form class What do you think @OrestF ?