sinclairnick / webroute

🕸️ Web APIs, from the route up
https://webroute.vercel.app/docs
MIT License
55 stars 2 forks source link

Improve validation API #29

Closed sinclairnick closed 3 months ago

sinclairnick commented 3 months ago

Should the API be provided via external function instead of via the ctx object? e.g. validateAll(ctx) or getQuery(ctx).