Skip to content

Confusing Documentation in Services section #17

Open
@msunardi

Description

@msunardi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions