few "beforeUpdate" callbacks(or any other callbacks) for one model
Aperta
- Lingua principale
- JavaScript
- Stelle
- 2k
- Fork
- 238
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I need a few "beforeUpdate" callback for one model because they encapsulate logics which relates with different things.
And I want code to be readable.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Look at the model callback implementation in the codebase, likely in a file like lib/model.js or similar. Understand how a single beforeUpdate callback is currently registered and triggered. Research how to allow multiple callbacks for the same event, ensuring they execute in a defined order. Check existing tests for callbacks to see the expected behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, nodejs
- Ambito
- backend, databases
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100