In UnableToHydrateObject.php line 49:
[EventSauce\ObjectHydrator\UnableToHydrateObject]
Unable to hydrate object: YAY\Application\Dtos\ContractDto, missing fields: customer_uid
Exception trace:
at /app/vendor/eventsauce/object-hydrator/src/UnableToHydrateObject.php:49
EventSauce\ObjectHydrator\UnableToHydrateObject::dueToMissingFields() at /app/vendor/eventsauce/object-hydrator/src/ObjectMapperUsingReflection.php:155
Would be helpful to have at least the full payload of the object where this "dueToMissingFields" was thrown? Or the key/path of the array?
Hi there,
really enjoying the object mapper so far. Trying to migrate away from valinor, and currently dont see how to solve this:
When one of my objects is missing a field, I have a hard time figuring out which object it is in the big array of objects:
all I have is:
Would be helpful to have at least the full payload of the object where this "dueToMissingFields" was thrown? Or the key/path of the array?