1602 / 1602/jugglingdb

Disallow mixins on Model

Ouverte
#450 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
2k
Forks
238
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, nodejs
Domaine
backend, databases
Type d'issue
Refactorisation
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.