You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we could totally support this. We just need to put together a hard-coded list of slugs that could appear in the "/collections/:collectionSlug/:id/:pageSlug" pageSlug slot.
Link to reproduction
No response
Environment Info
Node.js v22.7.0
Binaries:
Node: 22.7.0
npm: 10.8.2
Yarn: N/A
pnpm: 9.12.1
Relevant Packages:
payload: 3.0.0-beta.113
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.0.0: Tue Sep 24 23:39:07 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6000
Available memory (MB): 32768
Available CPU cores: 10
Describe the Bug
Custom views in v3 no longer support routing views under
/collection/<slug>
, which used to be possible in v2.I'm not sure if this is a bug or if this is intended. Either way, clarification would be good.
Reproduction Steps
Add a custom with a config like this:
(the easiest way to check this is by modifying
customParamViewPath
to/collections/users/:id/view
(payload/test/admin/shared.ts
Line 11 in a526c7b
Adapters and Plugins
No response
The text was updated successfully, but these errors were encountered: