Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

changedAttributes and changedRelationships not live. #138

Description

@aars

In the current implementation, changes are tracked in objects, which computed properties can not track sufficiently. Computed properties like changedAttributes do not update live, and therefor can not be used for changing state in a template for example.

I think we can resolve this by tracking changes in an array, keep a list of keys that have changed (do not match their previous value).

I will send in a PR next week for this, but wanted to give the chance to discuss this in an issue, since I might have overlooked something that either does allow tracking the dirty state of a Resource, or a reason to not list changed keys in an array.

Cheers.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions