Skip to content

Model afterInsert return originals? #2045

Description

@MGatner

Right now model event afterInsert returns "the original key/value pairs being updated" - which is a little ambiguous, it actually means the values you passed into insert() (including fields that didn't match allowedFields). While this info is somewhat useful, there is no way to determine what was changed, or even the original data (to perform a diff). I would like to see some way of passing either changed fields or the original fields.

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