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
However, the my-to-many-relationship is not being recognized as a relationship in this case. Am I doing something wrong? I would like this operation to remain atomical.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I am trying to update a value on a resource, and clear a to-many relationship at the same time like so:
api.update('my-resource', { id: 1, my-field: 'new value', my-to-many-relationship: [] });
However, the
my-to-many-relationship
is not being recognized as a relationship in this case. Am I doing something wrong? I would like this operation to remain atomical.Thanks in advance!
The text was updated successfully, but these errors were encountered: