dularion opened a new issue, #14285:
URL: https://github.com/apache/grails-core/issues/14285
So I've noticed that when I have a .gson file which renders a domain
instance and then i add new properties to that domain during development, the
rest of the application handles it pretty well, but from the gson i get
exceptions when trying to access those new properties, for example
```
jobLayoutTemplate_gson: 19: [Static type checking] - No such property:
ldBackgroundImage for class: JobLayoutTemplate
@ line 19, column 21.
ldBackgroundImage
jobLayoutTemplate.ldBackgroundImage?.getSimpleInstance()
```
At that point, i gotta restart the app.
This is not a very urgent issue, as restart usually doesnt take too long,
but I wanted to point out to you that hot-swapping new domain properties seems
to work well otherwise, its usually the gsons that have trouble with it.
*Grails version:* 3.1.10
*Grails views:*: 1.2.6
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]