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
When using nested mutations to delete a related model of the root entity, it should only be possible to delete a actually related instance. Right now the delete functionality pointing to a many relationship (where you pass an array of IDs) tries to delete the models without checking the relation.
Expected behavior/Solution
I would assume that, according to the documentation, only entities which are related to the source entity will be deleted. Otherwise nothing happens.
I opened a MR with failing test cases to approve my statement.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using nested mutations to delete a related model of the root entity, it should only be possible to delete a actually related instance. Right now the delete functionality pointing to a many relationship (where you pass an array of IDs) tries to delete the models without checking the relation.
Expected behavior/Solution
I would assume that, according to the documentation, only entities which are related to the source entity will be deleted. Otherwise nothing happens.
I opened a MR with failing test cases to approve my statement.
The text was updated successfully, but these errors were encountered: