5 ms·
I created an example on how one can easily add both compile-time and runtime validation with object schemas for their Next.js API routes using Next REST Framewo
by blomqma 4y ago
I created an example on how one can easily add both compile-time and runtime validation with object schemas for their Next.js API routes using Next REST Framework, which is a framework for creating type-safe, self-documenting REST APIs for Next.js authored by yours truly.