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

[Feature Request] Add prop as optional parameter of getEnhancedPrisma #1537

Open
jasonmacdonald opened this issue Jun 27, 2024 · 0 comments
Open
Milestone

Comments

@jasonmacdonald
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The getEnhancedPrisma call for the NestJS module does not provide any information about the requested property. This limits the ability to decide whether to return the enhanced Prisma client or the original. While you can inject the enhanced or non-enhanced service as separate injections, this feature would allow for a more nuanced approach using the same service.

Describe the solution you'd like
Pass the property being called to the getEnhancedPrisma.

Additional context
I will follow up on this request with a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants