jdaugherty commented on code in PR #15266:
URL: https://github.com/apache/grails-core/pull/15266#discussion_r2585718653


##########
grails-datamapping-validation/src/main/groovy/grails/gorm/validation/Constrained.groovy:
##########
@@ -88,9 +88,16 @@ interface Constrained {
      */
     boolean isUrl()
     /**
-     * @return Whether the value should be displayed
+     * @return Whether the value should be displayed (for backwards 
compatibility)
+     * @deprecated Use {@link #getDisplayType()} instead for more granular 
control
      */
     boolean isDisplay()
+
+    /**
+     * @return The display type controlling where this property is shown in 
scaffolded views
+     * @since 7.1
+     */
+    DisplayType getDisplayType()

Review Comment:
   @sbglasius  is going to test this change with his side project to ensure 
it's backwards compatible.  



-- 
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