Skip to content

Add before hooksΒ #982

@Flo0807

Description

@Flo0807

Backpex provides hooks that are called after changes are persisted to the database: https://hexdocs.pm/backpex/hooks.html

We could also add Hooks that are called before changes are persisted.

  • on_item_creating
  • on_item_deleting
  • on_item_updating

These hooks might be used to add additional changes.

We need to discuss what parameters these hooks receive, what they return and what Backpex does with the result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-discussionAn issue that still needs speficiation.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions