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

Route data validation using malli #682

Open
eoogbe opened this issue May 19, 2024 · 1 comment
Open

Route data validation using malli #682

eoogbe opened this issue May 19, 2024 · 1 comment

Comments

@eoogbe
Copy link

eoogbe commented May 19, 2024

Is it possible to validate route data using malli instead of spec? Since both malli and reitit are metosin libraries built on data-oriented concepts, it'd be nice to see them work together for validation of middleware or interceptors. If more libraries are fully compatible with malli, then it reduces the need for having the app schemas straddle spec alpha and malli. Is this a thing that already exists or could be added?

@ikitommi
Copy link
Member

ikitommi commented Jun 4, 2024

not yet. should be. the original nudge to write malli was the limitations of spec for doing this. just needs to be done 🙂

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

No branches or pull requests

2 participants