Conversation
- RPC-style API OAPI generation (v3.6.0) - Extract shared OpenAPI spec options into a reusable partial - Custom types now support relation fields (v3.6.0), with mixin example - Zod: document breaking changes and new `optionality` option (PR #2525) - MySQL: remove preview banner Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughDocumentation updates across modeling, databases, and services that include custom types supporting relation fields as mixins, MySQL feature status, OpenAPI specification generation configuration (refactored into a shared component), RPC-style OpenAPI generation, and revised default behavior for Zod schema generation with new optionality options. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/modeling/custom-type.md`:
- Line 44: The heading "Relation Fields" is currently an h3 (###) but should be
an h2 (##) to maintain proper document hierarchy; update the markdown heading
text "Relation Fields" from "### Relation Fields" to "## Relation Fields" in the
docs/modeling/custom-type.md file so the document has correct heading levels and
consistent outline generation.
In `@docs/service/openapi/restful.md`:
- Line 84: Update the RESTful slicing description sentence that currently reads
"the spec only includes the models, operations, procedures, and filter kinds
that are allowed" by removing the word "procedures" so it lists only "models,
operations, and filter kinds"; edit the sentence in the same paragraph (the line
containing "procedures") to reflect RESTful-relevant entities and ensure
punctuation/grammar remain correct.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 498c2b77-b214-4968-aa33-463e124a44a0
📒 Files selected for processing (6)
docs/modeling/custom-type.mddocs/recipe/databases/mysql.mddocs/service/openapi/_openapi_spec_options.mddocs/service/openapi/restful.mddocs/service/openapi/rpc.mddocs/utilities/zod.md
💤 Files with no reviewable changes (1)
- docs/recipe/databases/mysql.md
Summary
docs/service/openapi/rpc.mddocumentingRPCApiHandler.generateSpec(), available since v3.6.0_openapi_spec_options.mdpartial to eliminate duplication between RESTful and RPC OAPI docsmakeModelSchemaexcludes relations by default,select/include/omitvalues must betrue), newoptionalityoption, and deprecation ofmakeModelCreateSchema/makeModelUpdateSchemaTest plan
pnpm start— verify all updated pages render correctlydocs/service/openapi/rpc.mdanddocs/service/openapi/restful.mdboth render the shared Options section via the partialdocs/modeling/custom-type.mdrelation fields section and warning admonition render correctlydocs/utilities/zod.mddeprecated admonitions render correctly🤖 Generated with Claude Code
Summary by CodeRabbit
optionalityconfiguration option added.