Closed fmedinac closed 6 years ago
This should definitely be merged. A lot of use cases require semantic URLs in the front-end, not exposing the underlying IDs from a database.
I assume this works only for schemas that have an autokey with path: 'slug'? Like this one:
autokey
path: 'slug'
var Thing = new keystone.List('Thing', { autokey: { path: 'slug', from: 'title', unique: true } });
What happens if any user change the path text as keystone-demo does?
Cleaning too old PR.
This should definitely be merged. A lot of use cases require semantic URLs in the front-end, not exposing the underlying IDs from a database.
I assume this works only for schemas that have an
autokey
withpath: 'slug'
? Like this one: