You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: doc.model is not a function
at makeUniqueCounterSlug (node_modules\mongoose-slug-generator\lib\slug-generator.js:142:9)
at node_modules\mongoose-slug-generator\lib\slug-generator.js:91:21
at node_modules\mongoose-slug-generator\node_modules\async\lib\async.js:181:20
when I try to add unique slugs for nested and parent schemas.
Can you help me with this problem?
The text was updated successfully, but these errors were encountered:
Implemented in this fork
Same as in MongoDB, unique slugs in nested arrays elements will be unique over collection on per-document basis, so inside nested array duplicate slugs will still be possible.
Implemented in this fork
Same as in MongoDB, unique slugs in nested arrays elements will be unique over collection on per-document basis, so inside nested array duplicate slugs will still be possible.
I get the following error:
when I try to add unique slugs for nested and parent schemas.
Can you help me with this problem?
The text was updated successfully, but these errors were encountered: