Validation runs on a generic type and correctly validates the embedded instances of the generic types.