-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unique slug for Compound indexes #7
Comments
I have added this feature on my own fork of this project by adding a |
@rickogden you may be interested in fixing your
|
Hi @YuriGor, Thanks for pointing this out to me. Unfortunately I don't have the time to update this at the moment and I no longer have any projects which use it. Please feel free to submit a PR though! |
My fork moved too far from original so PR will be too painful) |
Hi,
I came across a case in my project where I would like to generate a unique slug, so I used your plugin. However, I'd like to have a unique slug per user, in other word, a Mongoose Compound Index (see here). For example:
/user-1/project-1
/user-2/project-1
should both the valid, even though the
project-1
is generated using the unique slug generator. Would it be possible to implement this in your plugin?Thanks!
The text was updated successfully, but these errors were encountered: