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
Using the above code, if you get a user using var user = UserResource.$find(1), and then save it using user.$save(), the actual request has profile_id, and post_ids attributes sent, ignoring the U flags.
The text was updated successfully, but these errors were encountered:
I ran into this same problem. Turns out, 764b562 broke this functionality because the relation attribute mapping will now happen after your mask mapping. Since the relationship mapping explicitly sets the mask on your relation, it overwrites your mask. For now version 1.9 still functions correctly with the old behavior
If a resource has a defined relation with another resource, then setting a mask attribute doesn't work. For example:
Using the above code, if you get a user using
var user = UserResource.$find(1)
, and then save it usinguser.$save()
, the actual request hasprofile_id
, andpost_ids
attributes sent, ignoring theU
flags.The text was updated successfully, but these errors were encountered: