Skip to content

dantenol/mongoose-array-getters-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bug replication for mongoose

This is a replication of an unexpected behaviour I found in mongoose. Basically the schema getter is fired every time the value is accessed.

How to run

First start your mongodb server on port 27017.

  • yarn install
  • npx ts-node readUser.ts

running on M1 Mac, Node v18.17, MongoDB v6.0.6

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published