Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion/idea Conditional validation #673

Closed
stevensnoeijen opened this issue Jul 11, 2024 · 1 comment
Closed

suggestion/idea Conditional validation #673

stevensnoeijen opened this issue Jul 11, 2024 · 1 comment

Comments

@stevensnoeijen
Copy link

Like described in here: typestack/class-validator#1721 , I like the second suggestion but maybe with a different naming.
I like to implement something like this, and I think this would be a nice addition to this lib :)
Thoughts?

@stevensnoeijen
Copy link
Author

nvm, Im not sure this can be done. As the class-validator decorators need to be applied to class properties directly.
This need to be changed in class-validator, or worked around in diffent ways, like discussed in the
typestack/class-validator#1721

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant