AEB-labs / cruddl

Create a GraphQL API for your database, using the GraphQL SDL to model your schema.
https://aeb-labs.github.io/cruddl/
MIT License
131 stars 17 forks source link

Seeding (and CLI) #89

Open itsezc opened 5 years ago

itsezc commented 5 years ago

Are there any plans to support seeding for Cruddl? as projects like Prisma currently do

If seeding was to be supported would Cruddl have a CLI? as that would be amazing to see

Yogu commented 5 years ago

Sorry, seeding is currently not on the roadmap.

orefalo commented 4 years ago

If I may.. .What is seeding? filling the DB with dummy data?

itsezc commented 4 years ago

@orefalo Seeding is filling the DB with initial data (could be dummy or real) useful for instance if you wish to have data like countries, admin user, default app settings etc automatically added

More specifically the type of seeding I was referring to was : https://www.prisma.io/docs/prisma-cli-and-configuration/cli-command-reference/prisma-seed-xcv8/