Use individual config files for Routes, Database Schema, Wasp Config, Actions/Queries #1924
Replies: 3 comments 1 reply
-
I would like this as well since my .wasp files get really big sometimes and i would love to put e.g. my actions or route definitions into another file. |
Beta Was this translation helpful? Give feedback.
-
Thanks all, this is something we plan to have in the near future for sure! We don't have it yet because we want to do it properly, but we will certainly be implementing it! |
Beta Was this translation helpful? Give feedback.
-
For someone using VS Code adding folding support to VS extension could be really helpful. Adding this config to |
Beta Was this translation helpful? Give feedback.
-
As a Wasp developer, it would be nice to see Routes/Pages, Prisma Schema, and Wasp app config separated into individual dedicated config files instead of one giant file. This way the project could use a normal
schema.prisma
file, and the Wasp app config and Routes/Pages could be a normal JS/TS file that exports JSON config objects.example file structure:
example
app.ts
:example
routes.ts
:etc.
Beta Was this translation helpful? Give feedback.
All reactions