![Object of class DateTime could not be converted to string · Discussion #46333 · symfony/symfony · GitHub Object of class DateTime could not be converted to string · Discussion #46333 · symfony/symfony · GitHub](https://user-images.githubusercontent.com/101296742/168046558-5c22b515-fdce-4366-a275-2fcd6838239e.png)
Object of class DateTime could not be converted to string · Discussion #46333 · symfony/symfony · GitHub
![Using custom types in Symfony & Doctrine | by Ruslan Karimov | 4ххi blog: FinTech, EdTech and startups' development Using custom types in Symfony & Doctrine | by Ruslan Karimov | 4ххi blog: FinTech, EdTech and startups' development](https://miro.medium.com/max/1400/1*-kcsBOFwxiElkQoO-1Va6g.png)
Using custom types in Symfony & Doctrine | by Ruslan Karimov | 4ххi blog: FinTech, EdTech and startups' development
Gregoire Pineau on Twitter: "With Symfony 5.4 your API will no longer leak internals, and all type hints will be validated at once while deserializing https://t.co/KzTOPxn4P7 https://t.co/4ReHCZFyVn" / Twitter
![Validation @Assert\DateTime on a doctrine date field indicates that the value must be of type string · Issue #35378 · symfony/symfony · GitHub Validation @Assert\DateTime on a doctrine date field indicates that the value must be of type string · Issue #35378 · symfony/symfony · GitHub](https://user-images.githubusercontent.com/7106002/72641440-83df7d80-396a-11ea-840d-46569fbbd316.png)
Validation @Assert\DateTime on a doctrine date field indicates that the value must be of type string · Issue #35378 · symfony/symfony · GitHub
![php - Symfony – “Object of class DateTime could not be converted to string” persisting entity - Stack Overflow php - Symfony – “Object of class DateTime could not be converted to string” persisting entity - Stack Overflow](https://i.stack.imgur.com/OyQjw.png)