Sitelet https://github.com/midwayjs/midway/pull/4609
Skip to content

feat(crud): Add routing mode option and Support custom prop name for service - #4609

Open
jiangzm wants to merge 2 commits into
midwayjs:v4-nextfrom
jiangzm:crud-route
Open

feat(crud): Add routing mode option and Support custom prop name for service#4609
jiangzm wants to merge 2 commits into
midwayjs:v4-nextfrom
jiangzm:crud-route

Conversation

@jiangzm

@jiangzm jiangzm commented Aug 14, 2026

Copy link
Copy Markdown
Contributor
Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
  • midway/swagger
  • midway/crud
Description of change
  • Remove the last / from the route path in swagger extension
  • Add routing mode option for CRUD decorator
  • Support custom prop name for service only within controller
  • Update the CRUD extension docs

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (v4-next@82413ab). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             v4-next    #4609   +/-   ##
==========================================
  Coverage           ?   85.64%           
==========================================
  Files              ?      643           
  Lines              ?    66780           
  Branches           ?     8122           
==========================================
  Hits               ?    57197           
  Misses             ?     9515           
  Partials           ?       68           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants