Closes gh-35694

Comment From: snicoll

@stillya thanks very much for the PR but I am not keen to add so much code for this. We either need to find a way to fail fast without checking each individual property or reconsider the merit of the issue.