Skip to content

Is custom validation of the request body without classes possible? #1245

Discussion options

You must be logged in to vote

You can create your own middleware and annotate the methods with UseBefore. Currently it’s not possible to define your own validation through configuration so that’s your best bet at the moment.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TokugawaTakeshi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants