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

Hooks #63

Closed
jiangz222 opened this issue Aug 22, 2020 · 2 comments · Fixed by #71
Closed

Hooks #63

jiangz222 opened this issue Aug 22, 2020 · 2 comments · Fixed by #71
Labels

Comments

@jiangz222
Copy link
Collaborator

Check out hooks in gorm

Hooks may be a solution to #62 , wrapper the user's hooks with qmgo hooks, so qmgo hooks update default fields, then call user's hooks.

@mirusky
Copy link

mirusky commented Aug 25, 2020

Is a good proposal to use Hooks and ways to register new functionsName as hooks like gorm

@jiangz222
Copy link
Collaborator Author

Is a good proposal to use Hooks and ways to register new functionsName as hooks like gorm

Got it!Thanks!
Long way to go! Let's do the basic hooks in the first step!

@jiangz222 jiangz222 mentioned this issue Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants