Skip to content

Commit

Permalink
Add note in documentation about property name space restriction (#558)
Browse files Browse the repository at this point in the history
Co-authored-by: Emma Richardson <[email protected]>
  • Loading branch information
Richardson-e and Emrichardsone authored Mar 28, 2024
1 parent 0a3e6e3 commit 8c58922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/docs/asciidoc/json/modelNaming.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Grails Framework supports a convention for the model names in your JSON views. If the convention does not meet your needs, model variables can be explicitly defined.

NOTE: Some model names are _reserved_ since there are properties of the same name injected into the view:
`locale`, `response`, `request`, `page`, `controllerNamespace`, `controllerName`, `actionName`, `config`, `generator`
`locale`, `response`, `request`, `page`, `controllerNamespace`, `controllerName`, `actionName`, `config`, `generator`, `json`

== Explicit Model Naming

Expand Down

0 comments on commit 8c58922

Please sign in to comment.