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
initialise:MongooseIdAssigner constructor now takes a ModelInstance (bba5a1c)
BREAKING CHANGES
initialise:MongooseIdAssigner.plugin will NOT return IdAssigner instance. It is intended to be used only with like so -> schema.plugin(MongooseIdAssigner.plugin, options).
Use MongooseIdAssigner Constructor to get Instance. It takes parameters ModelInstance and AssignerOptions. The interface AssignerOptions also changed, modelName not needed. Use AssignerPluginOptions when working with schema.plugin(..., options).