Closed labomatik closed 3 years ago
Describe the bug After enabling the new feature to send duplicate queries to ray #216 , i got this exception:
Object of class DateTime could not be converted to string Pipeline.php:49
Versions
spatie/laravel-ray 1.26.0 spatie/ray 1.30.2 ray Version 1.17.1 (1.17.1)
PHP version: Laravel version: 8
To Reproduce Linked to a query with $currentDate as DateTime
$currentDate = new \DateTime($datetime->format('Y-m-d')); $model->where('date','>', $currentDate)
Describe the bug After enabling the new feature to send duplicate queries to ray #216 , i got this exception:
Versions
spatie/laravel-ray 1.26.0 spatie/ray 1.30.2 ray Version 1.17.1 (1.17.1)
PHP version: Laravel version: 8
To Reproduce Linked to a query with $currentDate as DateTime
$currentDate = new \DateTime($datetime->format('Y-m-d')); $model->where('date','>', $currentDate)