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

[Clock] document DatePointType #20817

Merged
merged 1 commit into from
Mar 25, 2025
Merged

Conversation

garak
Copy link
Contributor

@garak garak commented Mar 24, 2025

Fix #20807

@carsonbot carsonbot added this to the 7.3 milestone Mar 24, 2025
@carsonbot carsonbot changed the title document DatePointType [Clock] document DatePointType Mar 24, 2025
@OskarStark OskarStark changed the title [Clock] document DatePointType [Clock] document DatePointType Mar 24, 2025
#[ORM\Entity(repositoryClass: ProductRepository::class)]
class Product
{
#[ORM\Column(type: DatePointType::NAME)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#[ORM\Column(type: DatePointType::NAME)]
#[ORM\Column(type: DatePointType::class)]

couldn't we use ::class here? 🤔

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd even remove type since it's auto-detected from the property type

@javiereguiluz javiereguiluz merged commit 2d7f46c into symfony:7.3 Mar 25, 2025
2 of 3 checks passed
@javiereguiluz
Copy link
Member

Thanks Massimiliano!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DoctrineBridge] add new DatePointType Doctrine type
5 participants