[5.3] Proper handeling primitive types in validation (#13538)
[5.3] Proper handeling primitive types in validation (#13538)

* proper handeling primitive types in validation

*    assure test

*     code style fix

constant-null/validation