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

Confusing Documentation in Services section #17

Open
msunardi opened this issue Jul 27, 2017 · 0 comments
Open

Confusing Documentation in Services section #17

msunardi opened this issue Jul 27, 2017 · 0 comments

Comments

@msunardi
Copy link

There are two confusing parts in the creating-your-first-grails-app#services guide:

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

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

grails_guide_services_stroked

@msunardi msunardi changed the title Confusing Documentation in Creating Your First Grails App Guide #Services section Confusing Documentation in Services section Jul 27, 2017
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

1 participant