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

replace marks all related objects as Dirty, tries to add the inverse relationship #82

Open
jondayton opened this issue Jan 31, 2021 · 0 comments

Comments

@jondayton
Copy link
Contributor

https://github.com/artemis-ag/mobx-async-store/blob/main/src/decorators/relationships.js#L322

When calling replace on a RelatedRecordsArray, the function calls add on every model, even if it was previously defined as related. The inverse relationship is then attempted to be added and marked as isDirty

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

No branches or pull requests

1 participant