You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the example above is from mongoose-paginate-v2 I can import the paginate to set global options across all the schemas, but in "mongoose-aggregate-paginate-v2" it's not included so I need to add paginate options to every schema manually please I hope that can be added to make work more perfect
// Here is full example
import { Module, OnModuleInit } from "@nestjs/common";
import { InjectConnection, MongooseModule } from "@nestjs/mongoose";
import { Connection } from "mongoose";
import { EnviromentsClass } from "src/utils/enviromentsClass";
import * as mongooseAggregatePaginate from "mongoose-aggregate-paginate-v2";
import * as paginateall from "mongoose-paginate-v2";
import { paginate } from "mongoose-paginate-v2";
import { paginate } from "mongoose-aggregate-paginate-v2" // not found
import { paginate } from "mongoose-paginate-v2";
the example above is from mongoose-paginate-v2 I can import the paginate to set global options across all the schemas, but in "mongoose-aggregate-paginate-v2" it's not included so I need to add paginate options to every schema manually please I hope that can be added to make work more perfect
// Here is full example
import { paginate } from "mongoose-aggregate-paginate-v2" // not found
The text was updated successfully, but these errors were encountered: