You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I found an array to string conversion bug in mhujer/jms-serializer-uuid#14 (fixed here). While investigating the author found out that the same issue exists in serializer itself for DateTimes. We can't assume that $data can be safely converted to string here:
Recently I found an array to string conversion bug in mhujer/jms-serializer-uuid#14 (fixed here). While investigating the author found out that the same issue exists in serializer itself for DateTimes. We can't assume that
$data
can be safely converted to string here:serializer/src/Handler/DateHandler.php
Lines 232 to 261 in e4b516e
Other handlers might suffer from this too.
Steps required to reproduce the problem
Send an array value where API expects a DateTime string.
Expected Result
Error that the value is invalid.
Actual Result
Array to string conversion warning.
The text was updated successfully, but these errors were encountered: