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

Added validator support for body prop #1

Merged
merged 1 commit into from
Apr 23, 2022
Merged

Added validator support for body prop #1

merged 1 commit into from
Apr 23, 2022

Conversation

lkwr
Copy link
Owner

@lkwr lkwr commented Apr 23, 2022

In the @Body() prop you can now pass a model (from lkwr/vade) for validation. Response code sets to 400 if validation fails.

@lkwr lkwr added the enhancement New feature or request label Apr 23, 2022
@lkwr lkwr merged commit 582a4f7 into dev Apr 23, 2022
@lkwr lkwr deleted the feat/validator branch April 23, 2022 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant