mavick
2 months ago

Splitting up Models into multiple files due to CodeLinting Smell Rule

Posted 2 months ago by mavick

Hi recently work just implemented SonarLint for code smells, most of the things are easy to fix however I am having an issue with Methods in models being over the limit (20) with scopes attributes and relationships its easy to pass the limit of 20.

I was wondering how other people are approaching this issue? I do not really want to use a trait as the scopes for these are relative to what the model is and wouldn't really be used on other Models.

Thank you for your time.

Please sign in or create an account to participate in this conversation.