Skip to content

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

@jlenon7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions