gas-orm
gas-orm copied to clipboard
Add field labels
Hi toopay, great work!
It will be nice if there was a way to specify label names inside the the fields array. Field names not always represent the label that should be shown in validation errors, and it's not intenationalization friendly. I think I can do some coding if you think it's a feature worth having.
I think I can do some coding if you think it's a feature worth having.
While i used to have field name that always represent label as my own convention, many will need those feature...so @mani-atico , please do :)
Would this be the same as aliasing columns/fields?
I have a legacy database that I'm working with and they have very unconventional naming schemes and I would like to alias some of the fields. For example, the have a businessname
in a business table. I would like it to be just name
. Their primary id is also pid
instead of id
. There are other annoying issues as well so something like this would be neat.