react-admin icon indicating copy to clipboard operation
react-admin copied to clipboard

Specify custom field for ID

Open stanisfun opened this issue 9 years ago • 4 comments

I have for one resource an ID that is called differently than id, so framework fails at almost any step. And have another resource that has compound id from 2 fields.

Is there a way to specify a mapper for id?

stanisfun avatar Mar 21 '17 10:03 stanisfun

have you looked at #373 ?

bodo22 avatar Mar 21 '17 10:03 bodo22

Yep, that's a duplicate.

fzaninotto avatar Mar 21 '17 10:03 fzaninotto

sry :|

stanisfun avatar Mar 21 '17 10:03 stanisfun

The above link seems broken

Updated link here --> #373

mamadOuologuem avatar Dec 23 '20 00:12 mamadOuologuem