Replies: 1 comment
-
I have the exact same issue to this. I have tried to look through the IoC tonight, but failed to make any progress on it. I'll see if I can whip up a PR for this soon when I have some time |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel Version
11
PHP Version
8.4
Database Driver & Version
Description
With the following Route handler:
The following API requests return the below-
I would expect the argument $ymd_date to return a carbon instance from '2024-04-04'.
This is a bit confusing as a user may expect this behaviour to work given how Model inject as expected.
Steps To Reproduce
Init a new project
Create a new controller with a typed-Carbon argument
Make a request to that endpoint
Note a fresh instance of carbon is created, it does not use the argument in the url
Beta Was this translation helpful? Give feedback.
All reactions