Skip to content

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

Description

@jondayton

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions