Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jlenon7 opened this issue Dec 30, 2023 · 0 comments
Open

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

jlenon7 opened this issue Dec 30, 2023 · 0 comments
Labels
feature New feature or request good first issue Good for newcomers

Comments

@jlenon7
Copy link
Member

jlenon7 commented Dec 30, 2023

🚀 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

@jlenon7 jlenon7 added the feature New feature or request label Dec 30, 2023
@jlenon7 jlenon7 self-assigned this Dec 30, 2023
@jlenon7 jlenon7 added this to Athenna Dec 30, 2023
@jlenon7 jlenon7 added the good first issue Good for newcomers label Dec 30, 2023
@jlenon7 jlenon7 moved this to Todo in Athenna Dec 30, 2023
@jlenon7 jlenon7 removed their assignment Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
Status: Todo
Development

No branches or pull requests

1 participant