Given an IPv6 value of ::ffff:10.233.65.138, I cannot save it to the database, as the regexp validation in \Doctrine\DBAL\PostgresTypes\InetType::convertToDatabaseValue does not pass for it.
This value passes a check with filter_var
var_dump(filter_var('::ffff:10.233.65.138', FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); // string(20) "::ffff:10.233.65.138"