This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* I couldn't find online any way of managing entities with a M2M relationship in react-admin with hasura backend, | |
* so here are mine. | |
* Example of what you can do: to the Edit view of your Movie resource, add DeletableRelatedResourceList | |
* to list and delete associated actors, and M2MRelatedResourceSelectInput to add new associated actors | |
* (with an intermediary table movie_actors). | |
* | |
* Done with [email protected] | |
*/ |