Subsystem
Server
Is your feature request related to a problem? Please describe.
The feature is related to the incoming request validation problem.
Describe the solution you'd like
You can find the implementation here: https://github.com/viartemev/ktor-validation-feature
Motivation to include to ktor
This is a core feature of all HTTP servers, most of the incoming requests must be validated. This feature provides a simple way for incoming request validation.
If you think that the proposed option suits for Ktor I can create PR and add tests for it.
Any progress on that?
@sysmat you can find my impl of the feature here: https://github.com/viartemev/ktor-validation-feature
I'm not sure about this way of validation, if @cy6erGn0m happy with it, I can create PR.
@viartemev this implementation will be as lib or part of ktor?
@sysmat it could be part of a standard set of features (as part of ktor library) or can be a separate feature that can be added to the project.
@viartemev I did something similar. Look at this: https://gist.github.com/LookBad/9611af5b90f1909eb4f597bb5d9e7737
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
@oleg-larshin what is the motivation for moving to YouTrack? Do you have any plans to transfer upvotes?
Most helpful comment
@oleg-larshin what is the motivation for moving to YouTrack? Do you have any plans to transfer upvotes?