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

Provide a way to skip slug generation if field was set #28

Open
devlegacy opened this issue Jan 22, 2022 · 1 comment
Open

Provide a way to skip slug generation if field was set #28

devlegacy opened this issue Jan 22, 2022 · 1 comment

Comments

@devlegacy
Copy link

mongoose.model('Resource').create({
    title: "Am I wrong, fallin' in love with you!",
    subtitle: "tell me am I wrong, well, fallin' in love with you",
}); // slug -> 'am-i-wrong-fallin-in-love-with-you'

Should skip plugin when slug field was set

mongoose.model('Resource').create({
    title: "Am I wrong, fallin' in love with you!",
    subtitle: "tell me am I wrong, well, fallin' in love with you",
    slug: 'am-i-wrong-fallin-in-love-with-you'
});  
@ken-kuro
Copy link

ken-kuro commented Aug 8, 2023

Any news on this one ?

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

2 participants