PrismaP
Prisma15mo ago
9 replies
RedRoss

How generete enum type from hasura?

Screenshot_2024-11-11_at_12.25.08.png
Solution
If i understand your question correctly, Prisma actually does generate TypeScript types based on your database schema, which you can use in your application. See this section of the documentation
Was this page helpful?