nestjs-typegoose icon indicating copy to clipboard operation
nestjs-typegoose copied to clipboard

Mongoose 6.x Support Issue - no exported member 'ConnectionOptions'

Open alexreal1314 opened this issue 3 years ago • 1 comments

We are trying to upgrade to mongosoe 6.x and encountered a problem with the package, It is importing an old interface which no longer exists. import { ConnectionOptions } from 'mongoose'; export interface TypegooseConnectionOptions extends ConnectionOptions { connectionName?: string; }

in the file typegoose-options.interface.d.ts

Should be updated to ConnectOptions. Can this be fixed or should I open a PR for this?

alexreal1314 avatar Nov 03 '21 08:11 alexreal1314

@alexreal1314 see 65 pull requests and no action on them, and I guess now you could fork updated version that was done in other opened issue https://github.com/kpfromer/nestjs-typegoose/issues/433

bmxpiku avatar Nov 03 '21 21:11 bmxpiku