-
Would be great to include typescript declaration file for mongoose-history-plugin.
Else...
Anyone already have a TypeScript Ambient Declarations Class file for mongoose-history-plugin ?
-
Problem:
It is stated that we can use multiple history collections or one shared collection for the history schemas. However, it is not possible to use a shared collection to hold the history of more…
-
I'm new to document versioning and have been trialing on a few similar plugins. It may be my mis-configuration, but I have really no idea what's going wrong after attempting for a whole day...
Whe…
-
Hello guys.
I'm trying use the plugin, but my history not works.
My model:
`import mongoose from "mongoose";
import { validateEmail } from "../utils/validations";
import { ROLES } from "./Enu…
-
Hi, I am trying to add this plugin to my app, as it looks amazing, but I can't get to make the plugin work in my Mongoose backend. During compilation, here's the error I get:
```
/home/node/app/no…
-
I'm using `"mongoose-history": "^0.8.0"`.
If I do something like:
...
// plugins
schemaPeople.plugin(mongooseHistory, {
customCollectionName: name + "History",
inde…
-
```
/srv/bots/naoko-fix-various-bugs/node_modules/mongoose/lib/model.js:461
return new VersionError(doc, version, modifiedPaths);
^
VersionError: No matching document found for id "reda…
-
Hi,
I am having the following situation:
- I have an object with unknown structure (defined by an external system)
- Let's say it looks as follows
```
let schema = mongoose.Schema(
{
…
-
I have a schema like this:
``` js
new Schema({
waitingList: {
__type__: {
current: {
__type__: [{
date: {
__type__:…
-
when use mongoose 6.4.4 show this error:
also I make connection with createConnection and I pass mongoose: myConnection in option
```
schema = schema._clone(this.base.Schema);
…
hmz22 updated
11 months ago