» To Project

label property annotation

WebDSL #195 - Improvement (by Danny Groenewegen on Jul 19)

Add a property annotation for label. This would be used in generated pages, e.g. the ones from derive crud Entity. There should also be a getLabel function so the label annotation (with a more human-friendly name for the property) can be retrieved in user-defined pages and action code.

example:

entity User {
  email :: String (label="E-mail address")
}

Log in to post comments