codeconsole commented on PR #16237:
URL: https://github.com/apache/grails-core/pull/16237#issuecomment-6303820589

   Correction to my comment above: 25a4633b5f puts the `@ResponseBody` part 
behind `grails.controllers.responseBody`, default `false` in Grails 9 and 
`true` in Grails 10, as `grails.exceptionresolver.springHandlers` does for 
exception handlers, so a Grails 9 action annotated `@ResponseBody` or 
`@RestController` still renders its view by default. A returned 
`ResponseEntity`, `ProblemDetail` and the other values Spring MVC writes 
whatever a handler method is annotated with, which Grails 8 did not write, are 
written whatever the setting says. The upgrade guide's section 4 table and 
section 15, the configuration metadata and `grails.config.Settings` have the 
setting.


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