Open
Description
There are two confusing parts in the creating-your-first-grails-app#services guide:
- There is a <1> marker by the
VehicleController.groovy
code snippet with the description:
"By simply defining a property in our controller with the same name as our service class, Grails will inject a reference to the service for us."
but it points to a @Transactional
line.
- Immediately below that part, there is the description:
"We’ve added new property to the model, called estimatedValue."
but it was not shown in the code snippet. It would also be helpful if in the code it shows how the estimatedValue
service is used to get the value for that property.
See the attached screenshot below.
Metadata
Metadata
Assignees
Labels
No labels