orm icon indicating copy to clipboard operation
orm copied to clipboard

💡 Add extended error message in ClouserHydrator.php

Open AlexWaha opened this issue 1 year ago • 0 comments

I have an idea!

vendor\cycle\orm\src\Mapper\Proxy\Hydrator\ClosureHydrator.php on line 41

Change line #42 "Can't hydrate an entity because property and value types are incompatible. Error message: " . $e->getMessage(), after that developer can see a detailed error message like this example

"...Error message: Cannot assign int to property Model\User\UserAuthorize::$total of type string..."

AlexWaha avatar May 08 '23 19:05 AlexWaha