I am using Meteor with a pre-existing database which uses custom objects in the _id field. I have defined the structure with Meteor like this:
_id: {
type: Object,
label: “ID”
},
“_id.templateId” : {
type: String,
label: “Template ID”,
optional: false
},
“_id.locale”: {
type: String,
optional: false
},
However, when I try to use the collection, I get an error stating that “Meteor does not currently support objects other than ObjectID as ids.”
Is there a workaround which would allow me to use this collection in Meteor without having to change the existing database?