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
{{ message }}
Repository navigation
attributes not respected for fields with getter #5948
There's a 1:n association between model A and model B. I'd like to find one A entity with all associated B entities. I only want to get a few selected attributes. All fields with a virtual getter are sent with the included model. The attributes don't seem to be respected for fields with a getter.
Activity
mickhansen commentedon May 24, 2016
#5566
zuck commentedon Sep 5, 2016
@mickhansen This issue seems to cover more cases than #5566, so maybe this should be left open instead.
hanego commentedon Sep 7, 2016
I don't know if it can help some people but I found a dirty solution for this by applying get({plain:true}) to my object like this:
And it worked for me (a bit overkill solution I guess...)