feat: support prisma-client generator provider#31
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughElementary, my dear developer. This PR expands support for Prisma Client generators to encompass both Changes
Sequence Diagram(s)sequenceDiagram
participant Test
participant Generator as Prisma Generator
participant Validator as Provider Validator
participant DMMF as DMMF Retrieval
Test->>Generator: Initialize with schema
Note over Generator: onManifest invoked
Generator-->>Test: Manifest (requiresGenerators removed)
Test->>Generator: Trigger generation
Generator->>Validator: Check provider type
alt Provider in SUPPORTED_PRISMA_CLIENT_PROVIDERS
Validator-->>Generator: Valid ✓
Generator->>DMMF: Retrieve DMMF
DMMF-->>Generator: Schema metadata
Generator-->>Test: Generated artifacts
else Provider not supported
Validator-->>Generator: Error thrown
Generator-->>Test: Generation fails
end
Estimated Code Review Effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (17)
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. Comment |
Summary
prisma-clientgenerator (while keepingprisma-client-jsworking) and document the requirement for a custom output pathTesting
Closes #30
Summary by CodeRabbit
New Features
Tests
Documentation