I have the following property in object defined in Mongoose schema, is there a way to prevent Moongose from assigning default enum value on App.create()
or during upserting
band_collection: {
type: String,
enum: COLLECTIONS.concat('Custom')
}
// collection
COLLECTIONS = ['red', 'white', 'blue']