feat: include provider type in schema#34
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe pull request bumps the package version from 0.4.1 to 0.4.2 and enhances the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Pull request overview
Adds datasource provider information to the schema metadata returned by the proxy server, enabling downstream consumers (e.g., tooling that inspects /api/schema) to detect the backing database provider type.
Changes:
- Extend
GET /api/schemaresponse to includeprovider.typefromzmodelConfig.datasource.provider. - Bump package version to
0.4.2.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
src/server.ts |
Adds provider.type into the /api/schema response payload alongside existing metadata. |
package.json |
Increments package version from 0.4.1 to 0.4.2. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary by CodeRabbit
New Features
Chores