You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in backend/models/ we are extending the Document type from mongoose to create our Lesson and Course interfaces. According to https://mongoosejs.com/docs/typescript.html#using-extends-document, this is now bad practice. We should update are implementation to be inline with this guide.
Goals
Update model interface implementation to improve longevity
The text was updated successfully, but these errors were encountered:
Description
Based off the discussion of this PR.
Currently, in
backend/models/
we are extending theDocument
type from mongoose to create our Lesson and Course interfaces. According to https://mongoosejs.com/docs/typescript.html#using-extends-document, this is now bad practice. We should update are implementation to be inline with this guide.Goals
The text was updated successfully, but these errors were encountered: