From kirimase created by arvind-iyer-2001: nicoalbanese/kirimase#51
Schemas are really hard to define in the CLI. If we really need relations to exist in the application that we're developing it would be cool if we could implement the following
Create all schemas in a separate file, say schemas.prisma, we declare all the relations, and all fields.
When kirimase generate runs, it can detect all the schemas in schemas.prisma, we can feed in the option to convert one of these schemas into a TRPC, API or App Route.
Accordingly the form will also help us add data to the database, with their relations declared. These relations can be viewed in the form of tables, like it is shown in this tutorial. Ecommerce Admin Dashboard.
From kirimase created by arvind-iyer-2001: nicoalbanese/kirimase#51
Schemas are really hard to define in the CLI. If we really need relations to exist in the application that we're developing it would be cool if we could implement the following
kirimase generate
runs, it can detect all the schemas in schemas.prisma, we can feed in the option to convert one of these schemas into a TRPC, API or App Route.