dual-salmonD
Refine3y ago
3 replies
dual-salmon

How to use rest api with child components inside a parent component

I have my own api and custom dataprovider for my api, but I am curious how I can generate the base code with MuiInferencer (or write my own) for a child resource/component inside a parent resource/component. I understand that you can use the meta object inside resources to define a child parent relationship but this just creates an extra column in the parent list. I want to be able to display a table of child components inside my parent component's show page.

For more context I am using Mui and the relationship between the parent and child is one to many.
Was this page helpful?