Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for destroyRecord in hasMany/belongsTo relationships #5480

Closed
wants to merge 6 commits into from

Conversation

jmar910
Copy link
Contributor

@jmar910 jmar910 commented May 30, 2018

Added tests for using destroyRecord in relationships. We found that in a hasMany relationship that uses links to load the relationships, when calling destroyRecord, it does not remove the record in the hasMany array. See failing test.

Related #5472

@jmar910 jmar910 changed the title Add tests for destroyingRecords in hasMany/belongsTo relationships Add tests for destroyRecord in hasMany/belongsTo relationships May 30, 2018
@runspired
Copy link
Contributor

closed with #7258

@runspired runspired closed this May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants