Closed tommyo closed 4 years ago
Totals | |
---|---|
Change from base Build 27: | -0.3% |
Covered Lines: | 365 |
Relevant Lines: | 371 |
Looks good, any chance you can add it to the README so it's documented before merging?
I've merged for now as I'm making some substantial changes to the project's setup. I've had this module stagnant for a long while and I'm cleaning it up a little. As of now, the tests are failing for replication after the changes introduced in this PR for named custom fields. I would recommend you do a pull from the latest master, npm install
, and go from there.
The issue with replication custom fields are fixed on the latest commit ;)
This adds a few features, but is 100% backwards compatible:
options can be set on the database rather than individual collections, and can be overridden by collection.
options at both levels can accept field name overrides:
Unit tests included.