Disallow mixins on Model
- Lingua principale
- JavaScript
- Stelle
- 2k
- Fork
- 238
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Mixins lead to mess in big projects, it is better to not allow them at all. Business logic should not reside in models with the caveat for hooks and validations.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
The issue is about disallowing mixins on Model classes in JugglingDB. First, locate the Model base class definition and understand how mixins are currently applied. Then, identify all places where mixins are used or allowed, and plan how to enforce the restriction. The change likely involves modifying the core ORM code and could affect existing projects, so careful consideration of backward compatibility is needed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, nodejs
- Ambito
- backend, databases
- Tipo di issue
- Refactoring
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100