In the example – <https://www.prisma.io/docs/get-s...
# orm-help
d
In the example – https://www.prisma.io/docs/get-started/03-build-graphql-servers-with-prisma-TYPESCRIPT-t201/#define-graphql-api – it actually mentions how two types (Post and User) are “straightforward re-definitions of the models specified in datamodel.prisma” but is this the only way? Once things get more complex there’s a lot more to keep copying across (including all required enums, etc.).
In this app I import the schema from prisma and then overwrite what I need to
so if the api is the same pretty much no work needed
t
i also feel that recopying isn't efficient but right now i have no choice but to recopy it.. i also tried in prisma.yml
Copy code
- generator: graphql-schema
    output: ./service/
but it looks very complicated and i fully understand it
you can try if any break through please let me know