-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hello,
I'll be referencing the model described in the OP of #50.
My legacy Mongoose model uses class_number as the primary key. So in my past REST server the url was /classes/:class_number
Since I am using MongoDB, the id and _id are both consumed by the DB, how should I handle the fact that the true UID for this resource isn't either of them? Should I try to change the server to handle the resource or change the resource to handle the server?
Thank you for any help you may provide :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels