[#361] fix: set parameter type in expression builder by brambaud · Pull Request #362 · Sylius/SyliusGridBundle

When using SQLite with symfony/uid and symfony/doctrine-bridge, the column type of an uuid is BLOB (see https://github.com/symfony/symfony/blob/9ad4353a8cf349c3b431c163af0b1dd9a29c33a2/src/Symfony/Bridge/Doctrine/Types/AbstractUidType.php#L28).

Furthermore, the Sylius\Bundle\GridBundle\Doctrine\ORM\ExpressionBuilder used in the EntityFilter does not specify the type of the parameter, thus the inferred type is a string.

It implies that when filtering the query we'll compare the string representation of the uuid with its binary representation.

Therefore the EntityFilter does not work.

Closed Sylius#361