We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mongoose-slug-generator/lib/slug-generator.js
Lines 89 to 104 in 2429908
Method makeUniqueCounterSlug is being called before regardless of the necessity to re-create slug.
makeUniqueCounterSlug
For instance:
It will not update the slug, although it did process the slug string and made a query on db.
Should this be avoided? if so, I can try to swap the order of the checking/generation and submit a merge request.
The text was updated successfully, but these errors were encountered:
I fixed this in my fork by moving check of permanent flag up
Sorry, something went wrong.
Here too @YuriGor: https://github.com/TendaDigital/mongoose-slug-generator
you can use yarn add @tenda.digital/mongoose-slug-generator
yarn add @tenda.digital/mongoose-slug-generator
No branches or pull requests
mongoose-slug-generator/lib/slug-generator.js
Lines 89 to 104 in 2429908
Method
makeUniqueCounterSlug
is being called before regardless of the necessity to re-create slug.For instance:
makeUniqueCounterSlug
(because the path has been modified)It will not update the slug, although it did process the slug string and made a query on db.
Should this be avoided? if so, I can try to swap the order of the checking/generation and submit a merge request.
The text was updated successfully, but these errors were encountered: