Skip to content
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

Let MongoDB handle the uniqueness of the slug? #32

Open
hems opened this issue Jan 9, 2023 · 0 comments
Open

Let MongoDB handle the uniqueness of the slug? #32

hems opened this issue Jan 9, 2023 · 0 comments

Comments

@hems
Copy link

hems commented Jan 9, 2023

I would like slug to automatically generate the slug but if the slug already exists i would like MongoDB to throw the usual error as i would like to handle the error myself and let the user know and consequently change the username and/or other fields being slugged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant