-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
I use custom type in mongodb, but i have an error /lib/plugin.js:270:31
TypeError: Cannot read property 'paths' of undefined
Image.prototype.cast = function(val: any) {
return {
name: val,
options: {
... my options
}
}
}
i added in getModelFromPath method this lines it match perfectly
if (!schema) {
candidateModel = null
return
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels