Ktor: Incoming request validation

Created on 24 Dec 2019  路  7Comments  路  Source: ktorio/ktor

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.

feature

Most helpful comment

@oleg-larshin what is the motivation for moving to YouTrack? Do you have any plans to transfer upvotes?

All 7 comments

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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ManifoldFR picture ManifoldFR  路  4Comments

KennethanCeyer picture KennethanCeyer  路  4Comments

diaodou picture diaodou  路  3Comments

baruchn picture baruchn  路  3Comments

gabin8 picture gabin8  路  4Comments