This is not an issue, but a feature request. It would be nice to determine, maybe in the domain class configuration, if a proxy must be resolved or not.
For example:
AccessPerson {
static belongsTo = [ person: Person, access: Access ]
...
}
Person is a big record, so I want to just load his id, but Access is a small record, so I want to resolve the proxy and output all attributes.
Now I can just set the grails.converters.gson.resolveProxies, or am I missing some configuration?
This is not an issue, but a feature request. It would be nice to determine, maybe in the domain class configuration, if a proxy must be resolved or not.
For example:
Person is a big record, so I want to just load his id, but Access is a small record, so I want to resolve the proxy and output all attributes.
Now I can just set the grails.converters.gson.resolveProxies, or am I missing some configuration?