Skip to content

[Feature]: Implement @Before...() and @After...() annotations  #122

Description

@jlenon7

🚀 Feature Proposal

Implement the following annotations to be used in models:

  • @BeforeCreate()
  • @AfterCreate()
  • @BeforeUpdate()
  • @AfterUpdate()
  • @BeforeSave()
  • @AfterSave()
  • @BeforeDelete()
  • @AfterDelete()
  • @BeforeFind()
  • @AfterFind()

Motivation

Give more control to the developer over database operations.

Example

No response

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

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions