Skip to content

Uniform Model load hooks  #5

@TheElter

Description

@TheElter

Actually the load hooks are a mess, some kind of load have an hook othesrs have different hook, others have no hook at all.

Instead of having different hooks on each kind of load (load,loadBy, loadAny) we can use a single kind of hook with the first parameter that specify the kind of load and eventually the other parameters as array exacly like the load method signature.

That can uniformate the "beforeLoad" part.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions