OrestF / readymade

MIT License
9 stars 4 forks source link

Add generators for creating basic operations and forms #1

Open Misha7776 opened 2 years ago

Misha7776 commented 2 years ago

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 commented 2 years ago

@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 commented 4 months ago

8