nightspite
Explore posts from serversDTDrizzle Team
•Created by nightspite on 10/11/2023 in #help
exclude models from bundle
if the types are not equal it will yell, for these checks
15 replies
DTDrizzle Team
•Created by nightspite on 10/11/2023 in #help
exclude models from bundle
Update: I have done some demonic things, just to make sure the types are equal between db and schemas.
15 replies
DTDrizzle Team
•Created by nightspite on 10/11/2023 in #help
exclude models from bundle
Thank you for the response! It totally makes sense and it's what I was afraid of. I will have to drop the
drizzle-zod
and create separate schemas then. Fortunately in this project it shouldn't be a problem, but in a more complex one that would be a pain in the ass I feel like. (I will spend some time to check, if there is no other solution to that). + Moving things like enums to the schemas
package and then importing it in database would probably make sense to have a single source of truth at least for that.15 replies
DTDrizzle Team
•Created by nightspite on 10/11/2023 in #help
exclude models from bundle
After excluding the
database
package from client via custom webpack config in next it now won't find the neccessary packages
15 replies