Skip to content

Relationships do not update on save #468

@salcedo

Description

@salcedo

If relationship fields sent from a backend are null - or in the case of a many to many relationship - the contents of an array have changed, pinia-orm does not appear to keep track of these changes by updating the id fields and/or pivot tables.

Please see https://github.com/salcedo/pinia-orm-relationship-unlinking for reproduction of this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    has workaroundThe issue contains a temporary solution to get around the problemquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions