Skip to content
Discussion options

You must be logged in to vote

I agree it's slightly weird but

  • the example in the docs makes it quite clear
  • slugs are not always lowercase eg Wikipedia uses https://en.wikipedia.org/wiki/New_York_City
  • you can trivially add .toLowerCase()
  • changing the behavior would be a semver-major breaking change

So I would say it's just a historical quirk we should keep as-is

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@stefanprobst
Comment options

@matthewmayer
Comment options

Answer selected by Shinigami92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants