Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend: switch model interfaces #119

Open
1 task
draymond63 opened this issue Apr 22, 2022 · 0 comments
Open
1 task

Backend: switch model interfaces #119

draymond63 opened this issue Apr 22, 2022 · 0 comments

Comments

@draymond63
Copy link
Contributor

draymond63 commented Apr 22, 2022

Description

Based off the discussion of this PR.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants