-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
On this documentation page:
https://docs.nestjs.com/techniques/mongodb#model-injection
It shows a type definition for CatDocument
. That type is not used anywhere else on the page. It appears to be unused.
Minimum reproduction code
https://docs.nestjs.com/techniques/mongodb#model-injection
Steps to reproduce
Notice the doc page does not say what needs to be done with CatDocument
.
Expected behavior
The doc page should show why we need CatDocument
.
Package
- I don't know. Or some 3rd-party package
-
@nestjs/common
-
@nestjs/core
-
@nestjs/microservices
-
@nestjs/platform-express
-
@nestjs/platform-fastify
-
@nestjs/platform-socket.io
-
@nestjs/platform-ws
-
@nestjs/testing
-
@nestjs/websockets
- Other (see below)
Other package
@nestjs/mongoose
NestJS version
10.3.3
Packages versions
@nestjs/mongoose 10.0.4
Node.js version
n/a
In which operating systems have you tested?
- macOS
- Windows
- Linux
Other
No response