nestjs-typegoose
nestjs-typegoose copied to clipboard
Mongoose 6.x Support Issue - no exported member 'ConnectionOptions'
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 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