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

Refactor relations and casts to be static properties #34

Open
SpaceK33z opened this issue May 23, 2017 · 0 comments
Open

Refactor relations and casts to be static properties #34

SpaceK33z opened this issue May 23, 2017 · 0 comments

Comments

@SpaceK33z
Copy link
Contributor

Static properties are a bit faster since they only have to be initialized once, not for each model. Also it looks better :).

This will be a massive breaking change though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant