Refactor `relations` and `casts` to be static properties
Opened this issue · 0 comments
SpaceK33z commented
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.