Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Support for TypedSQL "prisma generate --sql" #34

@joonatanvanhala

Description

@joonatanvanhala

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;
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions