You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feat: Refactor model hook and integrate ModelHook across operations. #54
feat:
- hook: adjust the implementation of the model hook to handle the default parameters and check if the corresponding interface is implemented based on either the default parameters or the `modelHook` parameter.
- operation: add the ModelHook field to the OpContext struct.
- finder:
- add the ModelHook method to set the modelHook value.
- add the ModelHook field to the OpContext struct.
- when creating an instance of the operation.OpContext struct and the OpContext struct, pass the ModelHook object.
- creator:
- add the ModelHook method to set the modelHook value.
- add the ModelHook field to the OpContext struct.
- when creating an instance of the operation.OpContext struct and the OpContext struct, pass the ModelHook object.
- deleter:
- add the ModelHook method to set the modelHook value.
- add the ModelHook field to the OpContext struct.
- when creating an instance of the operation.OpContext struct and the OpContext struct, pass the ModelHook object.
- updater:
- add the ModelHook method to set the modelHook value.
- add the ModelHook field to the OpContext struct.
- when creating an instance of the operation.OpContext struct and the OpContext struct, pass the ModelHook object.
0 commit comments