You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: