prisma1
prisma1 copied to clipboard
Seed from mutliple .graphql files
The prisma.yml.seed.import property can only accept one file.
I'd like to be able to modularize the seed import into multiple files by having the following in prisma.yml:
seed:
import:
- ./seed/a.graphql
- ./seed/b.graphql
I tried using # import
statement with graphql-import
without success.
Are there any ways around this?
Thanks for maintaining such an amazing project!
bump!
This would be a big help, it would allow us to separate static data from test data and put them into separate files.
Has there been any headway on this? We would love to split our seed files into the specific actions/apps they relate, instead of having one long file
Definitely bump