string.date.parse does not work on cyclic objects
Hello, i did not find anything related to this, but if i have a cyclic type like this:
if i try to parse it like:
then only the createdAt of the user itself gets a Date, but user.supervisor.createdAt stays a string.
how can i fix this?
thanks a lot!
if i try to parse it like:
then only the createdAt of the user itself gets a Date, but user.supervisor.createdAt stays a string.
how can i fix this?
thanks a lot!