Closed philotas closed 8 years ago
Hm, I don't see anything that would prevent you from using a string id. Can you show me more of your setup (model as well as resource definitions)?
To be more specific: I think it's actually your Sequelize model that may be incorrectly defined in this case, but I'd need to see more to make that determination.
When I declare a string as my id column (primaryKey: true) then I cannot GET /resources/sss
I get en error:
Unhandled rejection SequelizeDatabaseError: SQLITE_ERROR: no such column: NaN
You are obviously always expecting a number?
Is there a reason for this limitation? Or is this a bug ?