Open Stupidism opened 8 years ago
Definitely! One of the strength of this generator was the files generated by the apiroute generator could be edited (designed!) and extended easily. This is completely gone now, this needs to be rewinded (made optional at apiroute generation).
Additionally there could be a server model generator from which the clientModelDefinition can be generated, so the clienModelDefinition could sync with the server model - including validation and stuff.
There needs to be an optional mapping from document property to form display name, but in most cases a .capitalize(.humanize) gives nice defaults. What do you think?
I think based on the current demo option, this is a easy job. Just restore the old code with <% if()> will do the trick. However, from now to June 14, I will start doing my graduation paper. I'm wondering if you can do this.
I will do this after I finished my paper or after the deadline if you don't have time to do this.
Server model generator is nice. With #93
About the default display name, it's desc option now. And it is indeed default to capitailize of name of property
Yes, just wrapping in an if
would be sufficient, I think.
Because not everyone wants to use this