Replies: 2 comments
-
I dont see any wrong usage of the plugin, so some pointers:
If that does not solve it, maybe consider adding logging to the individual Finally, if i understand |
Beta Was this translation helpful? Give feedback.
-
@hasezoey is correct. There should only be one forFeature call. @jdhrivas I'd also suggest using Typegoose's own Scott |
Beta Was this translation helpful? Give feedback.
-
I'm using nestjs and I installed @typegoose/auto-increment on 4 different modules/schemas. It works fine on the first 2 but is not working on the other two.
Versions
"@nestjs/core": "^10.0.0",
"@nestjs/mongoose": "^10.0.6",
What is the Problem?
auto-increament only working on the first 2 schemas, but the implementation is the same in all 4.
Code Example
module 1
module 2
module 3
Do you know why it happens?
I have no idea, why, can you assist?
Beta Was this translation helpful? Give feedback.
All reactions