Skip to content

upsertGraph() calls $beforeUpdate() on empty relates #2605

@lehni

Description

@lehni

If the relation is the only thing changing on a related model instance, then the instance itself should not receive $beforeUpdate & co. calls, because the only update that occurs is of the relation on the parent model, the instance itself is not touched.

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