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]: Hooks like one's the lucid orm has #2266

Open
mohitxskull opened this issue May 6, 2024 · 1 comment
Open

[FEATURE]: Hooks like one's the lucid orm has #2266

mohitxskull opened this issue May 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mohitxskull
Copy link

Describe what you want

https://lucid.adonisjs.com/docs/model-hooks

Such hooks will be useful, so we can transform values after they are fetched and make changes before they are saved automatically

@mohitxskull mohitxskull added the enhancement New feature or request label May 6, 2024
@mohitxskull mohitxskull changed the title Hooks: Like one's the lucid orm has [FEATURE]: Hooks like one's the lucid orm has May 6, 2024
@khalil-omer
Copy link

Is this a duplicate of #755? I also use the term "hooks" and that's what the Go ORM Ent uses, but I do think "signals" and
"middleware" are referring to the same concept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants