-
-
Notifications
You must be signed in to change notification settings - Fork 12
fix: output path handling for prisma plugin #194
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
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, Documentation and Community
|
|
Claude finished @ymc9's task —— View job Code Review for PR #194: fix: output path handling for prisma pluginReview Tasks
📋 SummaryThis PR fixes output path handling for the Prisma plugin by changing how custom output paths are resolved and ensuring the logic correctly handles both directory and file path specifications. 🔍 Code Changes AnalysisMain Changes in
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes output path handling for the Prisma plugin by changing how output paths are resolved and allowing users to specify the full file path instead of just the directory.
- Changed output path resolution to be relative to the schema file location instead of the default output path
- Modified the plugin to accept full file paths (including filename) rather than just directories
- Updated test expectations to match the new behavior
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| packages/cli/src/plugins/prisma.ts | Updated output path resolution logic to use schema file location as base and handle full file paths |
| packages/cli/test/plugins/prisma-plugin.test.ts | Updated test configuration and assertions to match new output path behavior |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.