You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doctrine has some special handling where it looks up the primary key of the object if said object is an entity that's known to it, and to keep this behavior you cannot specify a type.
It looks much neater in terms of usage than ->setParameter('something', $entity->getId(), Types::INTEGER);, and isn't really an error, and as such I'd like to ask for an opt-in feature that will silently ignore this scenario.
The text was updated successfully, but these errors were encountered:
Doctrine has some special handling where it looks up the primary key of the object if said object is an entity that's known to it, and to keep this behavior you cannot specify a type.
It looks much neater in terms of usage than
->setParameter('something', $entity->getId(), Types::INTEGER);
, and isn't really an error, and as such I'd like to ask for an opt-in feature that will silently ignore this scenario.The text was updated successfully, but these errors were encountered: