orm icon indicating copy to clipboard operation
orm copied to clipboard

[BUG] Laravel 11 "validation.presence" not overriden

Open xaben opened this issue 1 year ago • 2 comments

Laravel 11 upgrade not possible due to all the validations failing as service is not being overridden.

Package version, Laravel version

laravel-doctrine/orm 2.1.0 laravel/framework v11.10.0

Expected behaviour

LaravelDoctrine\ORM\Validation\DoctrinePresenceVerifier is returned when trying to fetch "validation.presence" service

Actual behaviour

Illuminate\Validation\DatabasePresenceVerifier is returned instead

Steps to reproduce the behaviour

Add an Exists validation as described in https://laraveldoctrine.org/docs/1.8/orm/validation

xaben avatar Jun 12 '24 21:06 xaben