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

Add a validator middleware #167

Open
1 task done
thibault-cne opened this issue Dec 24, 2024 · 0 comments
Open
1 task done

Add a validator middleware #167

thibault-cne opened this issue Dec 24, 2024 · 0 comments
Assignees
Labels
feature Need a new feature
Milestone

Comments

@thibault-cne
Copy link
Member

  • I have looked for existing issues (including closed) about this

Feature Request

Motivation

Add a validator middleware to ensure that the request contains valid data.

Proposal

This can be a trait that will be implemented for all the structures that describe input values. This can be combined with macros to avoid repeating code.

Alternatives

@thibault-cne thibault-cne added the feature Need a new feature label Dec 24, 2024
@thibault-cne thibault-cne added this to the v0.3.0 milestone Dec 24, 2024
@thibault-cne thibault-cne self-assigned this Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Need a new feature
Projects
None yet
Development

No branches or pull requests

1 participant