ts-mongoose icon indicating copy to clipboard operation
ts-mongoose copied to clipboard

Automatically infer TypeScript interfaces from mongoose schemas🙀

Results 48 ts-mongoose issues
Sort by recently updated
recently updated
newest added

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 ![tserror](https://user-images.githubusercontent.com/11156849/117900248-4088eb00-b2e2-11eb-8946-dd64963b7764.PNG)

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tmpl&package-manager=npm_and_yarn&previous-version=1.0.4&new-version=1.0.5)](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...

Dependencies

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...

Dependencies

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](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...

Dependencies

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...