serverless-webpack-prisma icon indicating copy to clipboard operation
serverless-webpack-prisma copied to clipboard

Support for TypedSQL "prisma generate --sql"

Open joonatanvanhala opened this issue 5 months ago • 0 comments

It seems that currently the code generates the client without the --sql flag so the package doesn't include the sql files.

 generateCommand() {
    let command = 'npx prisma generate';
    if (this.isDataProxyParam()) {
      this.serverless.cli.log(`Prisma data proxy is enabled.`);
      command += ' --data-proxy';
    }
    return command;
  }

joonatanvanhala avatar Sep 11 '24 10:09 joonatanvanhala