Skip to content

More detail on typed routing #14

@drdamour

Description

@drdamour

New to play (and all of typesafe including scala) and found this part rather confusing:

By default the routes are compiled by Play so that they can be used in a type-safe way. This prevents issues caused by incorrect URL usages.

This seems not-insignificant, an opinion i found supported by http://stackoverflow.com/questions/15697453/convention-over-configuration-in-play-2-x .

I thought about adding an example there were the user changes index to indexDNE and tries to compile and sees that it fails to compile. I'm worried that wouldn't cover the intent of the statement. Any thoughts? happy to submit a pull request tweak the tutorial if it makes sense.

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