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

Add an option to excluse some reserved words #39

Open
svengau opened this issue Nov 8, 2017 · 2 comments
Open

Add an option to excluse some reserved words #39

svengau opened this issue Nov 8, 2017 · 2 comments

Comments

@svengau
Copy link

svengau commented Nov 8, 2017

Hi,

it would be nice to have an option to exclude some words from the slug generation. For example, with contact, blog, help:

testSchema.plugin(URLSlugs('username', exclude: ["contact", "blog", "help"]));

If you like it, I will try to propose a pull request for that.

@talha-asad
Copy link
Owner

Yes, sure looks like a good idea.

@svengau
Copy link
Author

svengau commented Nov 8, 2017

Here is the PR: #40
thanks

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