It seems like defining my Schema this way:
var PossessionSchema = new mongoose.Schema({
thing: {type: mongoose.Schema.Types.ObjectId, ref:\"Thing\"}
});
There isn't much of a difference, but they are available for separate uses.
Schemas should always use
mongoose.Schema.Types
.
mongoose.Types
are the object you work with within a mongoose document. These are special array subclasses, buffer subclasses, etc that we've hooked into or created special to ease updates and track changes.
Source: https://github.com/Automattic/mongoose/issues/1671