Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New features ,I need to customize the 'prisma/client' directory #126

Closed
364734461 opened this issue Aug 27, 2020 · 2 comments
Closed

New features ,I need to customize the 'prisma/client' directory #126

364734461 opened this issue Aug 27, 2020 · 2 comments
Assignees
Labels
feature New feature or request
Projects

Comments

@364734461
Copy link

@paljs/generator - New features

Can add a new configuration?To set the "prisma/Client" directory.

// Generators.ts

  protected async dmmf() {
    const { dmmf } = await import(
      join(projectRoot, 'node_modules', '@prisma/client') // --->>>   customize path
    );
    return dmmf;
  }
@AhmedElywa
Copy link
Collaborator

Yes, It's a good idea

@AhmedElywa AhmedElywa self-assigned this Aug 27, 2020
@AhmedElywa AhmedElywa added the feature New feature or request label Aug 27, 2020
@AhmedElywa AhmedElywa added this to To do in Dashboard via automation Aug 27, 2020
Dashboard automation moved this from To do to Done Sep 5, 2020
@AhmedElywa
Copy link
Collaborator

Use last version 1.2.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Dashboard
  
Done
Development

No branches or pull requests

2 participants