getBaseValidatorConjunction is called for simple types
I could observe this issue in the
$pids argument is of type
getBaseValidatorConjunction() is called which will return nothing because it does a
class_exists() check at the beginning.
class_exists() seems to be expensive (autoload process is triggered) it could make sense to do a check with
TypeHandlingUtility::isSimpleType() before doing the
#3 Updated by Alexander Stehlik over 5 years ago
initializeControllerArgumentsBaseValidators() method in the
AbstractController class is still calling
getBaseValidatorConjunction() which does a
class_exists() check at the beginning. The issue is still existing but since #53962 was merged is is not that big of a problem any more I think.
You could still consider adding a check for
TypeHandlingUtility::isSimpleType() which might be cheaper than
class_exists() but this would need some performance testing.