[New routing] Admin customers crud#18239
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 routing backward compatibility (BC) layer with global and per-route enablement, adds resource metadata configuration files for admin resources, and updates dependency constraints for "sylius/resource" and "sylius/resource-bundle" to development versions. Routing conditions and configuration options are adjusted throughout the admin and core bundles to support fine-grained BC control. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant SymfonyRouter
participant SyliusRequestContext
participant Config
User->>SymfonyRouter: Request admin route
SymfonyRouter->>SyliusRequestContext: Check route condition (isSyliusRoutingBcLayerEnabled)
SyliusRequestContext->>Config: Lookup global and per-route BC layer enablement
Config-->>SyliusRequestContext: Return enablement flag
SyliusRequestContext-->>SymfonyRouter: Return true/false
SymfonyRouter-->>User: Serve route if enabled, else 404
Possibly related PRs
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 (
|
| routeName: '_sylius_admin_customer_update', | ||
| redirectToRoute: 'sylius_admin_customer_update', | ||
| ), | ||
| new BulkDelete( |
There was a problem hiding this comment.
technically, legacy admin customer routing has a bulk delete operation... I'm wondering if we should add it or not.
8e6314f to
60394a9
Compare
❌ Preview Environment deleted from BunnyshellAvailable commands:
|
Summary by CodeRabbit
New Features
Bug Fixes
Chores
Tests