matrei commented on code in PR #15266:
URL: https://github.com/apache/grails-core/pull/15266#discussion_r2585720340
##########
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:
Yes, we should test this, we don't want to have to recompile/re-release
plugins for 7.1 compatibility.
--
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]