grails-doc icon indicating copy to clipboard operation
grails-doc copied to clipboard

Inconsistency in the definition of the controller scope

Open htmfilho opened this issue 4 years ago • 0 comments

The version 3.1.1 mentions that the default scope of a controller is "prototype" (https://docs.grails.org/3.1.1/ref/Controllers/scope.html). Version 4.0.3 mentions that the default scope is now "singleton" (https://docs.grails.org/4.0.3/ref/Controllers/scope.html). But when we go to the user guide (https://docs.grails.org/4.0.3/guide/theWebLayer.html#controllersAndScopes) we get "prototype" instead. I can confirm that the same issue happens in the latest version as well. Which documentation needs to be fixed?

htmfilho avatar Jun 06 '20 01:06 htmfilho