DoctrineSluggableBundle icon indicating copy to clipboard operation
DoctrineSluggableBundle copied to clipboard

Searching for conflicts requires a field 'slug' in the entity

Open cammanderson opened this issue 13 years ago • 0 comments

I know it is implied (e.g. get/set slug), but you may want to implement a naming convention around slugs, such as meta_slug or similar. Is it possible to refactor somehow so that entities can declare what the field is to search on? Thinking like how the security package configures the username field (e.g. in security with the entity section).

Currently the Listener uses the repository to search for conflicts based on the slug field.

cammanderson avatar Aug 08 '11 02:08 cammanderson