Skip to content

This repository contains a script to replicate an issue in mongoose v7

Notifications You must be signed in to change notification settings

Klem3n/mongoose-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mongoose Change Stream Error Reproduction

This repository contains a script to reproduce a specific issue with Mongoose and MongoDB change streams. The script uses mongodb-memory-server to create an in-memory MongoDB replica set and then tests the behavior of Mongoose change streams under certain conditions.

Prerequisites

Before running the script, ensure you have the following installed:

  • Node.js
  • npm (Node Package Manager)

Installation

To set up the project, follow these steps:

  1. Clone the repository:
git clone https://github.com/Klem3n/mongoose-error
cd mongoose-error
  1. Install the dependencies:
npm install

Running the Script

To start the script, use the following command:

npm start

This will run index.js.

Issue Reproduction

The script aims to reproduce a specific issue where a change stream error in MongoDB is not caught by Mongoose.

About

This repository contains a script to replicate an issue in mongoose v7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published