A NestJS project uses a ValidationPipe with class-validator to validate POST requests. It would be nice to use the same class-validator DTO in the (react) front-end .
How could the entities in the DTO be linked to react elements ?
This may be similar to How to Sync Front end and back end validation, but more focused on specific tools.