Skip to content

Incompatibility with Mongoose 4.x #1

@jayfang

Description

@jayfang

During module load (via "require") following error is seen with V4.0.2 of Mongoose

TypeError: object is not a function
at new SchemaArray ( ... /node_modules/hapi-oauth-store-multi-tenant/node_modules/mongoose-oauth-store-multi-tenant/node_modules/mongoose/lib/schema/array.js:58:19)
...
at Object. (... /node_modules/hapi-oauth-store-multi-tenant/node_modules/mongoose-oauth-store-multi-tenant/lib/schemas/oauth-app-schema.js:123:18)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions