It looks like Admiral is hard-coded to expect an id attribute to be the primary key for data.
|
pathname={`${config.path}/${record.id}`} |
This is an issue if using an API with a different name for the primary key! (For example, I'm trying to work with objects that have sessionID as their primary key.)
It would be useful to be able to specify this as part of a CRUD definition.
It looks like Admiral is hard-coded to expect an
idattribute to be the primary key for data.admiral/admiral/dataTable/DataTable.tsx
Line 281 in e58118b
admiral/admiral/crud/index.tsx
Line 55 in e58118b
admiral/admiral/crud/index.tsx
Line 63 in e58118b
This is an issue if using an API with a different name for the primary key! (For example, I'm trying to work with objects that have
sessionIDas their primary key.)It would be useful to be able to specify this as part of a CRUD definition.