Hello! I am working on seeders for my project, and...
# orm-help
l
Hello! I am working on seeders for my project, and it’s basically working. The only problem is that when seeding, the step doesn’t exit - meaning it’s either “stuck” on
Copy code
Hooks:

Seeding based on node ./database/seed.js...
or
Copy code
Resetting default@default 340ms
In addition - the seed finished sucessfully, it’s that CI fails now, because this step is “never finished”. My seed file:
Copy code
const { Graphcool } = require('graphcool-binding');

const db = new Graphcool({
  typeDefs: 'src/generated/prisma.graphql',
  endpoint: process.env.PRISMA_ENDPOINT,
  secret: process.env.PRISMA_SECRET,
  debug: false,
});

const seedUsers = async () => {
  await db.mutation.createUser({
    ...
  });
};
seedUsers();