peekRecord - can I use a slug rather than id?



I would prefer to use a unique slug to retrieve my models rather than an ID… This is ok for findRecord eg

model(params) {

Can you do the same for peekRecord rather than having to pass an integer for the ID?

Update - I am returning the slug as the ID in the JSON API response … not sure if this is the best way to do it but it’s working !