wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
12.75k stars 1.14k forks source link

Moves crud routes under `/crud` #2145

Closed infomiho closed 1 day ago

infomiho commented 3 days ago

Closes #2121

Moves CRUD routes under the /crud prefix so the global default middleware only gets applied to the CRUD routes instead of all routes (which includes custom API routes - this made it impossible to define custom middleware for API endpoints and use the CRUD feature).

This is changing the route the client uses, but since it was never part of public API, it's not a breaking change.