Vincent Langlet
Vincent Langlet
> It's a bit unfortunate that the ORM uses constants from a different package in their public API. For ORM 2.19, we could add replacement constants to the ORM codebase....
> ``` > Doctrine\ORM\Query\Expr\OrderBy::ASC; > Doctrine\ORM\Query\Expr\OrderBy::DESC; > ``` WDYT about adding these constants @greg0ire @derrabus ?
> I'm pretty sure, these doc blocks oversimplify how the query builder works. I wonder if inferring types for the query builder is better placed in the Doctrine plugins for...
> Thanks @VincentLanglet , plenty of info here. I will check the plugin by Wednesday and see if there are conflicts. It is true that I am using psalm but...
> On the other hand, downstream projects will get tons of new static analysis errors because they dare to use the now-generic query builder in method signatures without the proper...
These functions are still needed
> @VincentLanglet mind making a PR? We're trying to wrap up 2.1 finally and for sure won't have time in foreseeable future to take care of this idea ourselves. Happy...
Seems like `EntityManagerInterface::getEventManager` exists ; I'll try this instead.
DoctrineCommand is doing `DependencyFactory::fromConnection` does it mean we have to add `EventManager` to the constructor of all doctrine command ?
I had to remove the uniqueness of the email too. (Email are provided by some client API and they are not unique...) It would be nice to allow reset only...