ts-mongoose
ts-mongoose copied to clipboard
Automatically infer TypeScript interfaces from mongoose schemas🙀
I keep getting this error when refreshing my Remix application `OverwriteModelError: Cannot overwrite `Forms` model once compiled.` This is my model ```ts import { createSchema, Type, typedModel } from 'ts-mongoose';...
Is there a way to implement a refPath for the `Type.ref()` pattern? I'm talking about this https://mongoosejs.com/docs/populate.html#dynamic-ref
😭😭😭
this is such a remarkable package it can't die just yet. it's a few improvements away from being perfect. please
I'm trying to add a Point type to my schema which follows this format ``` point: { type: "Point", coordinates: [ 40, 5 ] } ``` I figured the following...
Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. Currently, my mongoose version is `^6.0.12`....
ts-mongoose not compatible with mongoose 5.12.8 when i command Tsc -p throw subdocument incompatible error 
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [tar](https://github.com/npm/node-tar) from 4.4.8 to 4.4.19. Commits 9a6faa0 4.4.19 70ef812 drop dirCache for symlink on all platforms 3e35515 4.4.18 52b09e3 fix: prevent path escape using drive-relative paths bb93ba2 fix: reserve...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Right now we cannot create two schemas that both have references to each other. This is a variant of the issue #35. I need to have two schemas, one for...