2.0.4 • Published 8 years ago

meanie-mongoose-set-properties v2.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

meanie-mongoose-set-properties

npm version node dependencies github issues codacy

A helper plugin for Mongoose to only set properties on a model that have changed, for use with Meanie Express Seed projects

Meanie

Installation

You can install this package using npm.

npm install meanie-mongoose-set-properties --save

Usage

The motivation for this plugin was a bug in Mongoose that would improperly mark all fields of a sub document as modified, even if none of the field values in the sub document had actually changed. This issue has since been fixed, but the plugin has some additional features that make comparing sub documents easier.

Issues & feature requests

Please report any bugs, issues, suggestions and feature requests in the meanie-mongoose-set-properties issue tracker.

Contributing

Pull requests are welcome! If you would like to contribute to Meanie, please check out the Meanie contributing guidelines.

Credits

License

(MIT License)

Copyright 2016-2017, Adam Reis

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.1

9 years ago

1.0.0

9 years ago