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
I'm trying out api-platform.com. It seems to send datetime payload as DateTimeImmutable object. DateTimeConverter::toDatabaseValue() line 33 only allows DateTime objects. Changing it to DateTimeInterface should fix it. It should allow any objects that implement DateTimeInterface regardless.
I'm trying out api-platform.com. It seems to send datetime payload as DateTimeImmutable object. DateTimeConverter::toDatabaseValue() line 33 only allows DateTime objects. Changing it to DateTimeInterface should fix it. It should allow any objects that implement DateTimeInterface regardless.