Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Production deployment Issues with large schemas (30+ models) - Wasp
W
Wasp
•
4mo ago
•
10 replies
m3dia
Production deployment Issues with large schemas (30+ models)
Hi Wasp team
!
I
'm building a production SaaS on OpenSaaS and hit a critical blocker
. My schema has grown to 32 models
(733 lines
) and
wasp build
wasp build
consistently fails with SDK Prisma client generation errors
.
The issue
:
SDK generates stub types
(20KB
) instead of proper Prisma client
(2
.2MB
)
, causing 88
+ TypeScript errors
.
Key finding
:
Development works perfectly with a workaround
, suggesting it
's specifically an SDK generation issue with large schemas
.
I
've submitted a detailed bug report here
:
https://github.com/wasp-lang/wasp/issues/3303
Critical question
:
Is 32 models beyond Wasp
's intended scale
? I
'm at a decision point
:
- Continue with Wasp
(if fixable
)
- Invest 3
-4 weeks ejecting to Next
.js
/Express
Any guidance on timeline or whether this is solvable would be hugely appreciated
!
Context
:
- Wasp 0
.18
.0
- Node v24
.3
.0
- PostgreSQL
(Neon
)
- OpenSaaS template base
GitHub
[BUG] SDK Prisma Client generates with stub types during `wasp buil...
Environment Wasp Version
: 0
.18
.0 Node Version
: v24
.3
.0 Platform
: darwin
(macOS
) Database
: PostgreSQL
(Neon
) Project
: OpenSaaS template
-based app with 32 custom entities Schema Size
: 733 lines
, 32 m
.
.
.
Wasp
Join
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.
4,650
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Deployment issues with migrations
W
Wasp / 🙋questions
16mo ago
production deployment port
W
Wasp / 🙋questions
17mo ago
deployment issues
W
Wasp / 🙋questions
2y ago
Re-Deployment issues with Fly.
W
Wasp / 🙋questions
11mo ago