Skip to content

Switch to private Relations store #12

Description

@MGatner

Relations should not be stashed in $attributes because this can create some unintended issues with model methods and casting. Instead they will be moved to a private stash of $relations which is checked before re-loading related items.

This will constitute a breaking change and come with the next major version.

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