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

Uniform Model load hooks #5

Open
TheElter opened this issue Sep 19, 2013 · 0 comments
Open

Uniform Model load hooks #5

TheElter opened this issue Sep 19, 2013 · 0 comments
Assignees
Labels

Comments

@TheElter
Copy link
Member

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.

@ghost ghost assigned romaninsh Sep 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants