[New routing] Admin countries crud#18235
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 WalkthroughThis update introduces a backward compatibility (BC) routing layer with global and per-route enablement, adds new resource metadata configurations for admin resources, and updates dependency constraints to allow development versions of the Sylius resource packages. Additional tests and service definitions support the new routing logic and configuration. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant SymfonyRouter
participant SyliusRequestContext
participant Controller
User->>SymfonyRouter: Requests admin route (e.g., /admin/product)
SymfonyRouter->>SyliusRequestContext: Check if BC layer enabled for route
SyliusRequestContext->>SyliusRequestContext: isSyliusRoutingBcLayerEnabled('admin_product')
SyliusRequestContext-->>SymfonyRouter: Returns true/false
alt BC layer enabled
SymfonyRouter->>Controller: Route handled via legacy/BC logic
else BC layer disabled
SymfonyRouter->>Controller: Route handled via new resource metadata logic
end
Suggested labels
Suggested reviewers
Poem
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. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
❌ Preview Environment deleted from BunnyshellAvailable commands:
|
5912d6f to
7a2fe93
Compare
Summary by CodeRabbit
New Features
Bug Fixes
Chores
Tests