api-platform / admin

A beautiful and fully-featured administration interface builder for hypermedia APIs
https://api-platform.com/docs/admin/
MIT License
480 stars 130 forks source link

list: Supplied override code removes create/show/edit buttons #512

Open jackbentley opened 10 months ago

jackbentley commented 10 months ago

API Platform version(s) affected: 3.4.4

Description
When using the override code provided, the buttons for create/show/edit disappear. https://github.com/api-platform/admin/blob/47e05b0734d97bdfa8c23d660b3ef3d53c434d05/src/ListGuesser.tsx#L27-L40

Also, having to define all resources in order to override just one seems really silly. https://github.com/api-platform/admin/blob/47e05b0734d97bdfa8c23d660b3ef3d53c434d05/src/AdminGuesser.tsx#L52-L57

The overriding implementation by #63 no longer works. Is there a better way to do this?