Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add whereUlid(param) support for routing #45372

Merged
merged 1 commit into from Dec 20, 2022
Merged

Add whereUlid(param) support for routing #45372

merged 1 commit into from Dec 20, 2022

Conversation

JamShady
Copy link
Contributor

Allows route()->whereUlid() support for routing, which currently only allows for whereUuid().

I didn't add any tests because:
(a) the regex is simple
(b) there were no existing test for the other regex params that I found to build off of
(c) there may also be discussion as to whether lower-case should be supported, or whether the regex should be fine-tuned to support actually generatable ULID's (there's further refinement that's technically possible, but there's a question of whether you hit diminishing returns)

@taylorotwell taylorotwell merged commit 672528e into laravel:9.x Dec 20, 2022
@JamShady JamShady deleted the pr/ulid-route-support branch July 4, 2023 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants