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


##########
grails-scaffolding/src/main/groovy/grails/plugin/scaffolding/RestfulServiceController.groovy:
##########
@@ -82,7 +82,7 @@ class RestfulServiceController<T extends GormEntity<T>> 
extends RestfulControlle
 
     @Override
     protected Integer countResources() {
-        getService().count(params)
+        Math.toIntExact(getService().count(params))

Review Comment:
   I like this change, but we should probably extract this separate from this PR



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