Closed Xenossolitarius closed 4 months ago
Would you be able to provide a reproduction? 🙏
@BobbieGoede Terribly sorry for raising this issue. There is a catch when filtering the routes that you don't want to clone. Sometimes the name of route in extendPage hook is undefined. So that small 1 liner was causing all the hassle, i'm leaving it here for everybody else to see because it is kinda an undocumented behavior.. Oh well closing issue.
Only thing to mention is that experimental feature 'typedPages' is generating wrong types now overriding the correct types with the clone pages names. Oh well it's an experimental feature and it's not hard to infer it back to a correct type
Environment
No need
Reproduction
No need
Describe the bug
When extending local pages, actually cloning them eg. original/ -> clone/original the params pages don't get their i18n versions.
I don't think the reproduction is needed. I saw the code for reading local pages and it seems they are deduped by the file path.
Managed to workaround by duplicating pages after i18n module and injecting the needed path.
Additional context
No response
Logs
No response