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

fix(laravel): Eloquent date and datetime type detection #6529

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Aug 20, 2024

Q A
Branch? main
Tickets n/a
License MIT
Doc PR n/a

date wasn't detected, and immutable and mutable versions were falsely detected.

@dunglas
Copy link
Member Author

dunglas commented Aug 20, 2024

There are more special types to support (can be done in follow up PRs): https://laravel.com/docs/11.x/eloquent-mutators#attribute-casting

@soyuka soyuka merged commit 2df0860 into api-platform:main Aug 21, 2024
55 of 59 checks passed
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.

2 participants