Right now I have defined all my DB models in separ...
# orm-help
h
Right now I have defined all my DB models in separate files, and pass them all to Prisma in
prisma.yml
like this:
Copy code
datamodel:
- model/user.graphql
- model/post.graphql
- model/comment.graphql
...
This becomes quite long, and also requires for the developer to remember to add the new models to this list, so I was wondering if there’s a way to create an
index.graphql
files that imports all of the models in the folder automatically?