Skip to content

BeforeUpdateHooks and BeforeDeleteHooks only get called for slices #616

@erizocosmico

Description

@erizocosmico

Hi! I just noticed that BeforeUpdateHooks and BeforeDeleteHooks only get called if you do slice.DeleteAll or slice.UpdateAll, but not x.Update and x.Delete. Is that intended? Otherwise the hooks do not reliably execute unless you always do operations over the slice

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting-for-infoNeeds more information to figure out the issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions