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

feat: set required field when a request body is present #112

Merged
merged 1 commit into from Apr 5, 2024

Conversation

hagishi
Copy link
Contributor

@hagishi hagishi commented Apr 5, 2024

Constrain by setting the required field to true when including a Body Schema.

@marclave marclave self-requested a review April 5, 2024 19:15
Copy link
Collaborator

@marclave marclave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love this! great work @hagishi !

and tests 🥳

@marclave marclave merged commit d63db39 into elysiajs:main Apr 5, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants