ekreative/uuid-extra-bundle

ramsey/uuid>=4 support

Closed this issue · 0 comments

It seems this bundle doesn't support ramsey/uuid>=4 properly. As default Uuid implementation is now Ramsey\Uuid\Lazy\LazyUuidFromString instead of Ramsey\Uuid\Uuid, supportsDenormalization returns false with those instances

public function supportsDenormalization($data, $type, $format = null)
{
return $type === UuidInterface::class || $type === Uuid::class;
}