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

Rework mongoose TypeScript models implementation #315

Open
Kaes3kuch3n opened this issue Feb 2, 2023 · 0 comments
Open

Rework mongoose TypeScript models implementation #315

Kaes3kuch3n opened this issue Feb 2, 2023 · 0 comments
Labels
backend Related to the Express API model qa

Comments

@Kaes3kuch3n
Copy link
Member

The current implementation of the mongoose models in the backend don't conform to mongoose's best practices, which may result in wrong typing and makes it harder to work with the models.

See https://mongoosejs.com/docs/typescript.html#using-extends-document

@Kaes3kuch3n Kaes3kuch3n added model qa backend Related to the Express API labels Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to the Express API model qa
Projects
None yet
Development

No branches or pull requests

1 participant