I\'m using a class-validator package to validate a link in the GraphQL input type. The problem is that validation fails when the link contains whitespace at the end of the i