Skip to content

Conversation

@chenmingyong0423
Copy link
Owner

@chenmingyong0423 chenmingyong0423 commented Jan 31, 2025

#72

- Remove global plugin instance
- Add dbCallbacks field in Finder, Creator, Deleter and Updater
- Support DB Callbacks
- aggregator: Support hooks.
- callback: Enable field hook by default, support before* and after* hooks.
- collection: Add fields field to Collection struct and pass it to finder, creator, updater, deleter, and aggregator objects.
- field: Add field package to store metadata of the struct bound to the Collection.
- hook: Refactor field hook, remove other hooks.
- operation: Add before* and after* hook types.
- model: Add mongox tag to ID field in the Model struct.
@chenmingyong0423 chenmingyong0423 merged commit 228af5b into main Feb 2, 2025
4 checks passed
@chenmingyong0423 chenmingyong0423 deleted the feature/refactor branch February 2, 2025 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants