feat(router): add support for custom resource routes (#6864) - #6913
feat(router): add support for custom resource routes (#6864)#6913satyajeetch1991 wants to merge 1 commit into
Conversation
|
❌ Deploy Preview for refine-doc-live-previews failed.Built without sensitive environment variables
|
|
@satyajeetch1991 restore the jsdoc comments in the diff and remove the emoji comments the LLM you used added. TL;DR review the PR again. |
|
I'm closing this PR because it's missing a lot of things:
...and the list goes on. |
PR Checklist
Please check if your PR fulfills the following requirements:
Bugs / Features
What is the current behavior?
Currently, refine only supports CRUD routes (
list,show,create,edit) for each resource.There is no built-in way to define additional custom routes associated with a resource.
What is the new behavior?
This PR introduces support for custom resource routes.
A new
customproperty is added toResourcePropsallowing developers to define additional routes alongside the default CRUD ones.✅ Example Usage