express-validator is a powerful validation and sanitation library. However, it relies on string property names for the validation to work. This is not type and refactoring safe, hence error prone. Let's see if we can fix this...
The other day I wanted to create an AWS Cognito User Pool with OAuth 2.0 client credential flow using the famous AWS CDK. It is pretty easy but not obvious...