Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency in the definition of the controller scope #761

Closed
htmfilho opened this issue Jun 6, 2020 · 1 comment
Closed

Inconsistency in the definition of the controller scope #761

htmfilho opened this issue Jun 6, 2020 · 1 comment

Comments

@htmfilho
Copy link
Contributor

htmfilho commented Jun 6, 2020

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?

@jamesfredley
Copy link
Contributor

This was resolved on 6.1.x and 6.2.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants