refactor(models)!: use typegoose #11
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "refactor/models"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Since it's quite inefficient to define and manage both the mongoose models and the relative interface(s) (for types), you can utilize typegoose to speed up the process. It uses TypeScript decorators to create the mongoose model, and mirrors the capabilities and functions of the base mongoose.
Why is this being imported if it is not used?
Oh I didn't realize.
Was this resolved?
Gonna work on fixing it now. Apologies for the delay.
changed this line in version 2 of the diff
added 1 commit
aa3c071c
- chore: remove unused importsCompare with previous version
resolved all threads
Pull request closed