Define autogenerated slugs on collection config #2673
creative-andrew
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have found myself adding slugs to most of my collections in Payload.
I normally follow the same procedure as the one defined here: https://github.com/payloadcms/website-cms/blob/main/src/fields/slug.ts
So I wonder if this use is so extended that it could be worth enabling optionally it in the config.
In WordPress, if am not mistaken slugs are automatically generated to have a certain type of identifier different than the ID.
The autogenerated slugs could prove beneficial also while filtering by related collections in GraphQL
See: #2672
### Discussion
https://discord.com/channels/967097582721572934/1107010234842624060
Beta Was this translation helpful? Give feedback.
All reactions