codeconsole opened a new pull request, #15266:
URL: https://github.com/apache/grails-core/pull/15266

   Modify [display 
constraint](https://grails.apache.org/docs/latest/ref/Constraints/Usage.html) 
so that
   
   1. it can override blacklist behavior if set.  (e.g. Date dateCreated 
currently will always not show up.
   2. Can specify display behavior (input/output)
   
   For instance, let's say you have `String password` you would want display: 
INPUT
   For dateCreated, perhaps ideal configuration is display: OUTPUT
   
   ```groovy
   class User {
   
       static constraints {
           dateCreated display: OUTPUT
           password display: INPUT
       }
   }
   ```
   
   This is backwards compatible with `display: boolean`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to