Is there an existing issue for this?
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
Other package
@nestjs/mongoose
NestJS version
10.3.3
Packages versions
Node.js version
n/a
In which operating systems have you tested?
Other
No response
Is there an existing issue for this?
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
@nestjs/common@nestjs/core@nestjs/microservices@nestjs/platform-express@nestjs/platform-fastify@nestjs/platform-socket.io@nestjs/platform-ws@nestjs/testing@nestjs/websocketsOther package
@nestjs/mongoose
NestJS version
10.3.3
Packages versions
Node.js version
n/a
In which operating systems have you tested?
Other
No response