Tuesday, 3 March 2020

Looking for a class-validator alternative (using nestjs)

Im really not liking it, documentation doesn't explain some standard cases and groups are confusing, at least for me Im literally having a hard time making a field optional just for one group (appearently setting @IsOptional({ groups:[mygroup]}) doesnt work) Cant find examples onlineAny good library that remains typesafe and has a similar approach?

Submitted March 03, 2020 at 05:55PM by Mautriz

No comments:

Post a Comment