[QUESTION] Slugify a tier list's title #19
Labels
priority 2
Pretty important - Something vital that requires attention
question
Concerns a question or a demand
Milestone
Question
How do we go about turning the tier list's title into a slug? More specifically, how do we want to limit user input on the title of the tier list, and what should the slug look like?
We can think about it like that:
unique
attribute on theslug
field in the DB, and instead implementing custom validations./yam/tier-lists/my-tier-list
).We could also imagine that instead, a slug is unique in the DB but by doing so, we are forced to have a random and unique value at the end of the slug (eg:
my-tier-list-197625469
) which would greatly reduce the collision rate.Additional information
There is no "good" or "wrong" answer here. All ways of doing this require a different implementation, but we should look at what is really the best for us and what users would enjoy the most.
Code of Conduct
The text was updated successfully, but these errors were encountered: