Skip to content

saveAll doesn't clear store.__setChanged when relation is omitted while saving #86

@abzainuddin

Description

@abzainuddin

When you trigger model.saveAll({ relation: ['foo'] })

and relations foo.bar is a store:

{
  foo: {
     bar: [1, 2],
  }
}

bar is still changed unless you model.saveAll({ relation: ['foo.bar'] })

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